Replies: 13 comments 1 reply
-
Hello, could you give an example of what you would type? |
Beta Was this translation helpful? Give feedback.
-
MsBuild.exe %USERPROFILE%\Desktop\Test\ .sln /property:Configuration=Debug so you don't have to include the file name |
Beta Was this translation helpful? Give feedback.
-
@modz2014 if a directory has only one solution file you can |
Beta Was this translation helpful? Give feedback.
-
wont build unless i add the sln file name i want to be able to use msbuild with adding the filename.sln thats why im asking if this can be modified if you guys dont want to do it can you point me in the right direction |
Beta Was this translation helpful? Give feedback.
-
Why doesn't it work? What kind of errors does it show? |
Beta Was this translation helpful? Give feedback.
-
this is another example if the first one doesnt make sense
MSBUILD : error MSB1009: Project file does not exist. |
Beta Was this translation helpful? Give feedback.
-
Try |
Beta Was this translation helpful? Give feedback.
-
im the directory of the file
there is only one .sln file and .csproj |
Beta Was this translation helpful? Give feedback.
-
If the directory contains many solutions MSBuild will naturally not be able to find out which you are talking about, and you inevitably have to specify it yourself. If it has one solution and many projects, I suggest you put them in separate directories. |
Beta Was this translation helpful? Give feedback.
-
ok thanks |
Beta Was this translation helpful? Give feedback.
-
I believe VS, when asked to open a project file, will instead open a solution if there is one in the same directory or immediately above that contains the project. MSBuild does not do that - which I think is good but possibly confusing here. |
Beta Was this translation helpful? Give feedback.
-
Yes I think so too also question is can I discuss about a new GUI window for forms there getting old now windows 7 style is there anything that you know of I can change this ect |
Beta Was this translation helpful? Give feedback.
-
Where would I find dotnet frame works Dev packs installed to because the location doesn't so when installing them |
Beta Was this translation helpful? Give feedback.
-
hi i was wondering if this can be modified to be able to build .sln without know the name and just the extension .sln only
Beta Was this translation helpful? Give feedback.
All reactions