The command dotnet build
for a razor page app with .net-6.0 throws lots of warnings like
CSC : warning RSG002: TargetPath not specified for additional file:
C:\dev\Foo\Foo\Pages\Admin\Administration\Users\Delete.cshtml.
[C:\dev\Foo\Foo\Foo.csproj]
.... lots of other files with the same warning
This is my build engine
C:\dev\Foo\Foo>dotnet build
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
Questions
- Do all developers need to have the same local file structure?
- For example if Sheldon uses
C:\dev\foo
are Raj and Howard not allowed to used:\mycode\bar\foo
? - How do i specify the TargetPath?
- Or in other words What do i have to do to remove the cause for the warning?