-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Pipelines Build/VisualStudio DesignTime magic #338
Comments
Update - perhaps it has something to do with a fragments file - |
No combination of |
Workaround (aka cheating): - task: DotNetCoreCLI@2
displayName: 'dotnet msbuild $(project)'
continueOnError: true
inputs:
command: 'custom'
projects: '$(project)'
custom: 'msbuild'
arguments: '/p:DesignTimeBuild=true /p:Configuration=$(buildConfiguration)'
# yes, the above task fails.. so build again!!!
- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: '$(project)'
arguments: '-c $(buildConfiguration)' and the powershell to achieve same result dotnet restore
dotnet msbuild /p:DesignTimeBuild=true
dotnet build |
Can you create a minimal project to reproduce this, and submit it as a pull request to https://github.com/tunnelvisionlabs/antlr-integration-tests-csharp? I expect the pull request to initially fail, at which point I can work to find a solution to it. |
There are a host of issues logged that discuss dotnet core etc. specifically #208 but...
Please help guide me?
csproj
azure yaml
The text was updated successfully, but these errors were encountered: