Skip to content
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

Accelerate local builds in Visual Studio #3026

Merged
merged 2 commits into from
Jul 24, 2023
Merged

Accelerate local builds in Visual Studio #3026

merged 2 commits into from
Jul 24, 2023

Conversation

christophwille
Copy link
Member

https://github.com/dotnet/project-system/blob/main/docs/build-acceleration.md

<ProduceReferenceAssembly>true<ProduceReferenceAssembly> is necessary in our case because of ics.d being netstandard2.0, otherwise this error shows up for FUTD:

4>FastUpToDate: Comparing timestamps of inputs and outputs: (ICSharpCode.ILSpyX)
4>FastUpToDate:     Adding UpToDateCheckBuilt outputs: (ICSharpCode.ILSpyX)
4>FastUpToDate:         D:\GitWorkspace\ILSpy\ICSharpCode.ILSpyX\bin\Debug\net6.0\ICSharpCode.ILSpyX.dll (ICSharpCode.ILSpyX)
4>FastUpToDate: Output 'D:\GitWorkspace\ILSpy\ICSharpCode.ILSpyX\bin\Debug\net6.0\ICSharpCode.ILSpyX.dll' does not exist, not up-to-date. (ICSharpCode.ILSpyX)
4>FastUpToDate: This project has enabled build acceleration, but not all referenced projects produce a reference assembly. Ensure projects producing the following outputs have the 'ProduceReferenceAssembly' MSBuild property set to 'true': 'D:\GitWorkspace\ILSpy\ICSharpCode.Decompiler\bin\Debug\netstandard2.0\ICSharpCode.Decompiler.dll'. See https://aka.ms/vs-build-acceleration for more information. (ICSharpCode.ILSpyX)
4>FastUpToDate: Up-to-date check completed in 0.3 ms (ICSharpCode.ILSpyX)

…puts have the 'ProduceReferenceAssembly' MSBuild property set to 'true': 'D:\GitWorkspace\ILSpy\ICSharpCode.Decompiler\bin\Debug\netstandard2.0\ICSharpCode.Decompiler.dll'" - this relates to the documented problem of netstandard2.0 projects not generating the necessary reference assemblies (direct issue link dotnet/project-system#8865) No harm for netcore projects as these produce those ref asms by default.
@christophwille christophwille merged commit b482ae9 into master Jul 24, 2023
@christophwille christophwille deleted the buildaccel branch July 24, 2023 11:17
siegfriedpammer added a commit that referenced this pull request Aug 26, 2023
christophwille pushed a commit that referenced this pull request Aug 26, 2023
mattsh247 pushed a commit to mattsh247/ILSpy that referenced this pull request Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant