microsoft / microsoft/MSBuildSdks
Installation of Microsoft.Build.CopyOnWrite
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 508
- Forks
- 94
- Avg merge
- 6h 40m
- Merged PRs (30d)
- 2
Description
I would like to know how to install this nuget. I found somewhere I need to put it to Directory.Build.targets as SDK reference
<Project>
<Sdk Name="Microsoft.Build.CopyOnWrite" Version="1.0.302" />
</Project>
But I found on other sites, that it should be part of csproj, or Directory.Build.props
<Project>
<ItemGroup>
<PackageReference Include="Microsoft.Build.CopyOnWrite" Version="1.0.302" />
</ItemGroup>
</Project>
Now I switched solution to Central Package Management and I'm using Directory.Packages.props for version definitions and not sure if both Build definitions supports it.
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Microsoft.Build.CopyOnWrite" Version="1.0.302" />
</ItemGroup>
</Project>
So how to use it?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the SDK reference in Directory.Build.targets with PackageReference in a csproj or Directory.Build.props, and the PackageVersion entry in Directory.Packages.props. Start by checking the Microsoft.Build.CopyOnWrite installation guidance and MSBuild SDK behavior. Done means documenting which form works with Central Package Management and where it belongs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system, tooling
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100