17 questions
0
votes
1
answer
386
views
Project dependencies in a nuget package are being copied to the application bin folder despite being marked PrivateAssets
I have .netcore2.0 app called MyHelper.
MyHelper is referencing a .netstandard2.0 project called B.
MyHelper is published as a nuget package.
I need to use MyHelper in other projects and solutions ...
4
votes
1
answer
2k
views
Transient dependencies of .NET Standard 2.0 dll are missing in bin when referenced by .NET 462 project
If a .NET 462 project references a .NET Standard 2.0 dll the dependencies are not copied to the output bin folder.
It works correctly when the .NET Standard 2.0 project is referenced as <...
1
vote
0
answers
213
views
Sharing violation when multiple projects reference library in msbuild
I have run into a problem with msbuild. I have a three tiers of project files. The lowest create libraries, some of which are language neutral, and some of which are language specific. The next ...
2
votes
1
answer
1k
views
How do I reference a .NET 4.5.2 library from the .NET Core project (VS2017)
I have a .NET Core Class Library created in VS2017. I need to reference an assembly build against .NET 4.5.2. When I add the reference, I receive the following error:
Error CS0012 The type 'Object'...
2
votes
0
answers
269
views
Copy files in addition to project primary output using MSBuild project references?
I have a project that is referenced by many dependent projects, and some files in that project that must be in the binary directory of the dependent projects for the dependent projects to run.
...
4
votes
1
answer
839
views
What gets precedence during build? nuget reference or project reference
I have a .net solution that has two class library projects (Say A and B) that I am also publishing to a nuget server.
If I were to add A as a project reference as well as a nuget reference on B, what ...
14
votes
1
answer
4k
views
WiX properties RefProjectOutputGroups RefTargetDir
When referencing projects within WiX projects (*.wixproj) I often saw the code snippet
<ItemGroup>
<ProjectReference Include="..\Foo.Bar\Foo.Bar.csproj">
<Name>Foo.Bar</...
1
vote
2
answers
166
views
VS 2010 build issue : reference issue
I have solution with multiple projects.
Few common folders for Bin/Lib/Include e.g. all exported lib in Lib folder, executable in Bin folder and header in Include
Example
Solution - S
Project A1 -...
10
votes
2
answers
4k
views
Configuration for ProjectReference in MSBuild
Is it possible to set the configuration of ProjectReference in MSBuild?
Scenario:
I have a build script (web deploy) that has a number of configurations where the only difference has to do with how ...