"The BaseOutputPath/OutputPath property is not set for project 'FrostyModSupport.csproj'"
I've been having trouble to turn AssetBankPlugin.csproj into a dll file and have been having the same 5 errors and not really sure on how to fix it, I mainly need help on how to set the output path in each of the csprojs in order to compile into a dll file
8 Replies
Did you... try setting
OutputPath
in those csproj files?I never really knew where to type the outputpath nor what to type to set it, really sorry for sounding stupid its just that iv never really done this sort of thing before and just started like a week ago
When you open the csproj file you'll see stuff like
Add
<OutputPath>the/relative/path</OutputPath>
underneathwould it look like this?
<OutputPath>F:\Git\AssetBankPlugin</OutputPath>
I probably should have asked for an example of what it would look it or i could just send the csproj to make things easier to understand since i got this error after typing this out
"F:\FrostyModSupport\FrostyModSupport.csproj(138,1): error MSB4067: The element <OutputPath> beneath element <Project> is unrecognized.
Build FAILED.
F:\FrostyModSupport\FrostyModSupport.csproj(138,1): error MSB4067: The element <OutputPath> beneath element <Project> is unrecognized.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.65"
Well, you placed it outside of the property group
It should be inside
for example
alright gonna try this later and see if this works
tried this out and it worked but now im facing a new issue but mainly not knowing how to do the outputpath for the frostyhash.vcxproj
MSBuild version 17.8.3+195e7f5a3 for .NET
Determining projects to restore...
Restored F:\Git\AssetBankPlugin\AssetBankPlugin.csproj (in 482 ms).
Restored F:\Git\MeshSetPlugin\MeshSetPlugin.csproj (in 482 ms).
4 of 6 projects are up-to-date for restore.
C:\Program Files\dotnet\sdk\8.0.101\Microsoft.Common.CurrentVersion.targets(832,5): error : The BaseOutputPath/OutputPath property is not set for project 'FrostyHash.vcxproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='Win32'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [F:\FrostyHash\FrostyHash.vcxproj]
Build FAILED.
C:\Program Files\dotnet\sdk\8.0.101\Microsoft.Common.CurrentVersion.targets(832,5): error : The BaseOutputPath/OutputPath property is not set for project 'FrostyHash.vcxproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='Win32'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [F:\FrostyHash\FrostyHash.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:04.30
unless its the same way but if its different would like to see an example to get a better picture
can send the vcxproj if needed to help understand
I'm not really sure where i would need to put the outputpath in the vcxproj iv been looking everywhere for the configuarations or a spot that would show where i would need to put the outputpath and everytime i would try to add same stuff from the csprojs myself it would keep giving me this error
$ dotnet build
MSBuild version 17.8.3+195e7f5a3 for .NET
Determining projects to restore...
F:\Microsoft.Cpp.Default.props(53,3): warning MSB4011: "C:\Program Files\dotnet\sdk\8.0.101\Current\Microsoft.Common.props" cannot be imported again. It was already imported at "F:\FrostyHash\FrostyHash.vcxproj (3,5)". This is most likely a build authoring error. This subsequent import will be ignored.
All projects are up-to-date for restore.
F:\Microsoft.Cpp.Default.props(53,3): warning MSB4011: "C:\Program Files\dotnet\sdk\8.0.101\Current\Microsoft.Common.props" cannot be imported again. It was already imported at "F:\FrostyHash\FrostyHash.vcxproj (3,5)". This is most likely a build authoring error. This subsequent import will be ignored.
C:\Program Files\dotnet\sdk\8.0.101\Microsoft.Common.CurrentVersion.targets(832,5): error : The BaseOutputPath/OutputPath property is not set for project 'FrostyHash.vcxproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='Win32'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [F:\FrostyHash\FrostyHash.vcxproj]
Build FAILED.
not really sure on where id need to type or add the output path for the vcxproj given that its made differently