I have a problem building (with Visual2017) my game since MG dev 3.7.744 / 753. It works with the 737.
The problem is: I have somewhere a relative path …/…/xyz in my folder “launcher” pointing to one of the subfolders of folderofsolution:
But with these 2 builds the launcher’s path points to 2 parents from folderofsolution, and MSBuilds fails to build:
If I open the project on another computer it points to another folder. So it is not the project that points to a specific folder.
And no reference to any …/…/…/ (3 folders up) anywhere in ANY of my files
Above 737 it cannot build as well on this machine.
Can you give some more information? Is the relative path in the mgcb or the csproj? Where is it relative from? “somewhere in folder ‘launcher’” is not helpful for us to track this down. What is it supposed to point to?
It is not in the mgcb as I don’t build content along with the app it takes too much time.
I think it must be in the csproj, but the launcher is only an exe in the folder “launcher” with a reference to the engine’s dll in the “game” folder.
Maybe the order of some xml tags is wrong in the csproj ?
One thing i noticed is i’m using 220.127.116.112, but in the csproj it says 18.104.22.168 which is not installed…
Maybe the ?
Not at all a project file, it takes a random file in a folder at the root of i: in my ex:
-|-Data(another folder on i:, not a part at all of the project)
—|-DressageChiot (How to train my dog)
It takes “Data\Dressagechiot” as the folder to build what i don’t know as everything is in FolderOfSolution, but itseems to take FolderOfSolution as the starting point when going up with …/…/ when it should start from my launcher.csproj in “launcher”
If I put FolderOfDevelopment in another folder, it chooses another folder than “Data\Dressagechiot”, but always 2 parents up, so it becomes Data, and a file in it (always the same, i don’t know it chooses it, it seems to always be the 7th if there are enough files, i don’t know what happens if there is nothing else)
Could it be related to the only significative change I’ve found concerning paths/builds since build 742 in
I know my project does not build content, but I could have made something wrong and it does not build content, but still try to build something
How to make a project not build the content of the mgcb ?
Here is the solution’s view:
No mgcb in this project, all content is linked in the swift.engine’s project, which builds without any problem.
With 753, many
4>C:\Program Files (x86)\MSBuild\MonoGame\v3.0\MonoGame.Content.Builder.targets(94,5): warning MSB4220: Waiting for the currently executing task “CreateItem” to cancel.
when i tried to stop the build as it takes more than 5mins… (743, 15s only, due to the fact it must have been trying to build a large file with this folders path problem)
My output dir in the mgcb file is
Which as the csproj, goes up 2 folders
Even if I remove the reference to swift.engine.dll, it fails with the same problem, whereas there is no mgcb in a sub dll to build