MSBuild unable to compile a project in a solution file, if project name contain dot "."
-
I have a solution that has two c# project named test and test.test, but MSBuild doesn't compile test.test.csproj. I am trying to compile like this msbuild.exe "c:\test.sln" "/t:test" "/p:Configuration=Debug": This command compiles correctly test project in test.sln solution. msbuild.exe "c:\test.sln" "/t:test.test" "/p:Configuration=Debug":But this command doesn't compile test.test project, and gives the error that unable to find project test.test in test solution. Any help regarding that. Warm Regards, Mushq
-
I have a solution that has two c# project named test and test.test, but MSBuild doesn't compile test.test.csproj. I am trying to compile like this msbuild.exe "c:\test.sln" "/t:test" "/p:Configuration=Debug": This command compiles correctly test project in test.sln solution. msbuild.exe "c:\test.sln" "/t:test.test" "/p:Configuration=Debug":But this command doesn't compile test.test project, and gives the error that unable to find project test.test in test solution. Any help regarding that. Warm Regards, Mushq
hi, It should read smth like /t:Rebuild or /t:Compile or /t:Rebuild;Compile. Greetings Kaine
-
hi, It should read smth like /t:Rebuild or /t:Compile or /t:Rebuild;Compile. Greetings Kaine
you are right but we can also provide target for individual project in a solution file, for example i can also do this msbuild.exe "c:\test.sln" "/t:Rebuild:test" "/p:Configuration=Debug": Look at the target, now the above command is going to rebuild only test project in test solution file. Regards, Mushq
-
you are right but we can also provide target for individual project in a solution file, for example i can also do this msbuild.exe "c:\test.sln" "/t:Rebuild:test" "/p:Configuration=Debug": Look at the target, now the above command is going to rebuild only test project in test solution file. Regards, Mushq
Didnt know that last part... Thanks for the update Greetings, Kaine