And no, I don’t use “Re-generate projects” button, just plain old resync. Also when I open project in protobuild manager for some reason it automatically resyncs and download stuff.
Most likely not a bug but something stupid I’m doing, the only question is what exactly? Unfortunately had to use VS as my IDE because I got that debugger error on Xamarin Studio. Please help me. Already file has disappeared from project’s hierarchy thanks to this bug (code file) and I fear it will get worse as the project rises in size as I’ll eventually have to restore several files. Not to mention my customized build options (mainly containing of ignoring “missing XML comment” warning) have to be restored over and over again.
Make sure you “Save All” in Visual Studio before running resync. By default Visual Studio doesn’t save project or solution files until you Exit VS, which means when Protobuild goes to read the .csproj for synchronisation, the files you added in Visual Studio aren’t there.
You said “by default”. Is it possible to change this behavior?
In any case, just did it with VS CLOSED (meaning it was definitely saved), opened protobuild manager, loaded my project and the same exact thing happened. Protobuild log (with game’s name redacted):
[start] [5584] C:\Users\Darkhog\Documents\gamedev\redacted\Protobuild.exe --generate Windows
Starting resolution of packages for Windows...
Enabled parallelisation; use --no-parallel to disable...
Querying: https-nuget-v3://api.nuget.org/v3/index.json|Protogame
(from cache) https://api.nuget.org/v3/index.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/protogame/index.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-sha007681445ad0c3e65eac18b5a047025a81ac790e/0.0.0-sha0fec46a03e9bb811dca0ca201568b8654dd63c40.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-sha77b431b1dd11d37b6f33bed3e8fbc4ca145fa87a/0.0.0-sha84e2a2d0161645a2be8e113813e782f954a2285c.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-sha0ffc3cf6a28888f165fd6a6c5fb9476837878dc8/0.0.0-sha1d9766c3ea742227e529c77d726a14ba2de2b725.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-sha1db5d237ed1279b5bc986f4519186c35fedadbea/0.0.0-sha2b6db698b46b1e2d2822254eb81cf2cec75ec62b.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-sha2baa46eb386318d055e23b2ab10f630a8de78e34/0.0.0-sha3ce1313b71d3616f544b97db24a1c76b54bd905f.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-sha3d38f859c64d23758bf7abb20311778f97275245/0.0.0-sha4aff8161e82736f62a64f45e72f650e95b53df93.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-sha853cd68c8a695dce2facdd1215b87aa7f8e2ac5f/0.0.0-sha923f0c854f3518ba898fd4e2b2d64931e2b8e4ab.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-sha9293ca6c247386915d3f59c0c302541789122ebb/0.0.0-shaa4b124c2e74ee60abe5b23ede885fae43319d2ce.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-shaa4b56b8354ff7daee967e6aeea2cef3126d42c80/0.0.0-shab3da3fc234ff7f6ea042ac2a95096133f1112d8a.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-sha4b19960a2f90feeb6d9ee7f08e1cf75bbfdcfbdb/0.0.0-sha5a3c1b287ff5ce53dfdced43d5aae8e4e9b51512.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-shab46df0609d945b22e9a61bf0b473d68340fe0e38/0.0.0-shac105e95522d670270b8458088044d474a7c42599.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-sha5a8da6e5f2299ad21cf7eaeeff64d525b9fafc99/0.0.0-sha69eb355d74076b3bacec98ded506b96ab99275fc.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-sha69fb7fffd1676b004ca9656f1a929b8c41265d90/0.0.0-sha77af8209e61fb21537850da0bb06690dbc1efb19.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-shadf0be5abfcdc90e161eb1b1d1bde428aa4ffbab5/0.0.0-shaf0921c07a544ab911c64a122132e99345766dfe4.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-shac10f89fe9c1be3e1d1beba4547a1c50af39fdf82/0.0.0-shacdb7247e559503ac0151634f2b08cb8829bf7160.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-shacdeadd2d09466c079adc47ddd7c7dac3ab28e6e0/0.0.0-shade9861dbbded4888474fe9753742b11ec45c7767.json
(from cache) https://api.nuget.org/v3/registration3/protogame/page/0.0.0-shaf11bcd5ffa4e8320d94a3239b04dd0faf70d7b1e/6.0.4.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/protogame/page/0.0.0-shaf11bcd5ffa4e8320d94a3239b04dd0faf70d7b1e/6.0.4.json
(1/10) HTTPS GET https://api.github.com/repos/RedpointGames/Protogame/branches/master
Resolving: https-nuget-v3://api.nuget.org/v3/index.json|Protogame
Package type not specified (and no file at C:\Users\Darkhog\Documents\gamedev\redacted\Protogame\.git), requesting binary version.
Protobuild binary package already present at C:\Users\Darkhog\Documents\gamedev\redacted\Protogame\Windows
Invoking package resolution in submodule for Protogame
(from cache) https://api.nuget.org/v3/index.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/protobuf-net.redpoint/index.json
(from cache) https://api.nuget.org/v3/index.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/jitter.redpoint/index.json
(from cache) https://api.nuget.org/v3/index.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/monogame.framework.redpoint/index.json
(from cache) https://api.nuget.org/v3/registration3/protobuf-net.redpoint/page/0.0.0-sha02dcb2926bc9edce65ecc9ff48c6f4c5d4f97105/0.0.0-sha2f7a00ffd2d559a3034a50cf5381b8af0a9b7cb8.json
(from cache) https://api.nuget.org/v3/registration3/protobuf-net.redpoint/page/0.0.0-sha30934f7402c4bece144b1abc16097a20146391bb/0.0.0-sha6f01a32fa4284334906f5e8631c8c623fb0b58cb.json
(from cache) https://api.nuget.org/v3/registration3/protobuf-net.redpoint/page/0.0.0-sha6f450ab16c7e70ba355f5763dedaea49418e79b9/0.0.0-sha9ad17516379084c6adcc95a5ff7f2ce86584f3e7.json
(from cache) https://api.nuget.org/v3/registration3/jitter.redpoint/page/0.0.0-sha001690b75d96462d523eaf062b828b9b480b75dc/0.0.0-sha29dbf1c8b64cd40e26ec78fc2fec89db3ad60b09.json
(from cache) https://api.nuget.org/v3/registration3/jitter.redpoint/page/0.0.0-sha2bb01e69e3305d218da579b54920ee185b39e5f1/0.0.0-sha6115a98dbebf3f8ff9272b581e6326f326680cbe.json
(from cache) https://api.nuget.org/v3/registration3/protobuf-net.redpoint/page/0.0.0-sha9b44a1680f294ffa01b556511a3f0c3e5a09e4fa/0.0.0-shacaf8e9ab74674324da550cd1a9df6ba43fbf4853.json
(from cache) https://api.nuget.org/v3/registration3/protobuf-net.redpoint/page/0.0.0-shacc663f0c80402dbce788f8aa5d8903183135468f/0.0.0-shaf0944b666dca74857f61bc5929afc03671b8a671.json
(from cache) https://api.nuget.org/v3/registration3/protobuf-net.redpoint/page/0.0.0-shaf0a14aec1b9f22276ad04e218d252edb9a8ffab9/0.1.0.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/protobuf-net.redpoint/page/0.0.0-shaf0a14aec1b9f22276ad04e218d252edb9a8ffab9/0.1.0.json
(from cache) https://api.nuget.org/v3/registration3/jitter.redpoint/page/0.0.0-sha617b8cb15021cf14f14eab0027a194eee569a35e/0.0.0-sha8c7a5bde6e8ffea0db896af067ad6c235da187d0.json
(from cache) https://api.nuget.org/v3/registration3/jitter.redpoint/page/0.0.0-sha8ce021b6b05c0a976a4bd373ec59a2106618fb30/0.0.0-shab09fb69cfb09a840b381847b06f2f46e7a5bfc55.json
(from cache) https://api.nuget.org/v3/registration3/jitter.redpoint/page/0.0.0-shab22b06bb40e0395b07ccbeb4f324d93761aa3a46/0.0.0-shae6bfd43e69146be896e05f9c802d3eb11842db3b.json
(from cache) https://api.nuget.org/v3/registration3/jitter.redpoint/page/0.0.0-shae8d0ed618d36f8e9dd2b3732c401f992d21b1941/0.3.0.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/jitter.redpoint/page/0.0.0-shae8d0ed618d36f8e9dd2b3732c401f992d21b1941/0.3.0.json
(from cache) https://api.nuget.org/v3/registration3/monogame.framework.redpoint/page/0.0.0-sha008b1b0a2fb1a38ec7e2617f373df3984f572638/0.0.0-sha1fe499ed419342aa981bf82c6041235c4dd111fa.json
(from cache) https://api.nuget.org/v3/registration3/monogame.framework.redpoint/page/0.0.0-sha20937e2bcdef46a482ed04a33a83d1a2175e13dc/0.0.0-sha3f27d537d44f7a38779f4073c07dd71a280603fd.json
(from cache) https://api.nuget.org/v3/registration3/monogame.framework.redpoint/page/0.0.0-sha411c75534ec8445272075bab264f6e3235b6b262/0.0.0-sha5bbb0e213f954d54ba9ed1b31f7ee414dd97f6ea.json
(from cache) https://api.nuget.org/v3/registration3/monogame.framework.redpoint/page/0.0.0-sha5c051661513b9f981a450ecf89fa7dbc3d9416ba/0.0.0-sha742426413dcaa5a3fc6f9028962e10a5fe10bc20.json
(from cache) https://api.nuget.org/v3/registration3/monogame.framework.redpoint/page/0.0.0-sha75944fd5c25b0b3747c145e07742f147565bf59b/0.0.0-sha8a03be3527baa846332c6c8d3250d91e72b9e8a5.json
(from cache) https://api.nuget.org/v3/registration3/monogame.framework.redpoint/page/0.0.0-sha8ac3ffab221a9a1654b8299953033332e2fddca8/0.0.0-shaa8994df12afc2b283f4452f6e626cc6259700f09.json
(from cache) https://api.nuget.org/v3/registration3/monogame.framework.redpoint/page/0.0.0-shaa94c8bfd39c446936ba224ccb2772956f8f13235/0.0.0-shac698a2f1c3b1bfbe525d89910d53e2b57175e3d2.json
(from cache) https://api.nuget.org/v3/registration3/monogame.framework.redpoint/page/0.0.0-shac6a9e9587949593387430304598631efac6af7a4/0.0.0-shae1b14b3cdfd6c273cc0eb5d566a33f3641ec3901.json
(from cache) https://api.nuget.org/v3/registration3/monogame.framework.redpoint/page/0.0.0-shae1cf7b48dfdb9ac22b483fbf1a48212b75090b4e/0.0.0-shafd84335826a816f3f965413bb85047bd08da1b48.json
(from cache) https://api.nuget.org/v3/registration3/monogame.framework.redpoint/page/0.0.0-shafdc1d7639ffc0833a76a9d485bf3cc220d81a9f8/3.5.0.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/monogame.framework.redpoint/page/0.0.0-shafdc1d7639ffc0833a76a9d485bf3cc220d81a9f8/3.5.0.json
(1/10) HTTPS GET https://api.github.com/repos/RedpointGames/protobuf-net/branches/master
(from cache) https://api.nuget.org/v3/index.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/ndesk.options.redpoint/index.json
(1/10) HTTPS GET https://api.github.com/repos/RedpointGames/Jitter/branches/master
(from cache) https://api.nuget.org/v3/registration3/ndesk.options.redpoint/page/0.0.0-sha003d96f30f462a90c648b0ce3d67e1ed60a41199/0.0.0-sha2082d017db5e224aaa420d0dd0ae2649296930be.json
(from cache) https://api.nuget.org/v3/registration3/ndesk.options.redpoint/page/0.0.0-sha20a33a92cc7b84cf16d92213b38498755805ce05/0.0.0-sha40714737213aafe6de9c6c7e726a3c2097c8deaa.json
(from cache) https://api.nuget.org/v3/registration3/ndesk.options.redpoint/page/0.0.0-sha40d4bedd2bfe1890cea4f26ebc1530581c834c4c/0.0.0-sha650d4dd9912f9f21a604675362653ba4beb62f6c.json
(from cache) https://api.nuget.org/v3/registration3/ndesk.options.redpoint/page/0.0.0-sha65ad9c4f41920c04adcf027d99a7f14e23ee13fc/0.0.0-sha85c315f3241ba3e86d4eaf5ae30c22c46990b415.json
(from cache) https://api.nuget.org/v3/registration3/ndesk.options.redpoint/page/0.0.0-sha86146a88dd2a15c224fe47b455962b54da69b5f5/0.0.0-shaa69e07ae579deb5f4aa4a2af1c9cd5f45deb6fca.json
(from cache) https://api.nuget.org/v3/index.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/prototest/index.json
(from cache) https://api.nuget.org/v3/registration3/ndesk.options.redpoint/page/0.0.0-shaa785e9d834634338b5529e4a0e591f0d4cd2170f/0.0.0-shac7f5e24cf06a5c7334a2bda39996292ccf658881.json
(from cache) https://api.nuget.org/v3/registration3/ndesk.options.redpoint/page/0.0.0-shacb26959fa18cf446de7d018e0712b2fb66c29018/0.0.0-shae6a47d3e47cf86d75a000977e47e023302a99d05.json
(from cache) https://api.nuget.org/v3/registration3/ndesk.options.redpoint/page/0.0.0-shae6f3fb13981ce055fd7d8b6b6c73ca48d3a38f7a/0.0.0-shaff19834be195dc30d549f24e7d2f4db9ef359d97.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/ndesk.options.redpoint/page/0.0.0-shae6f3fb13981ce055fd7d8b6b6c73ca48d3a38f7a/0.0.0-shaff19834be195dc30d549f24e7d2f4db9ef359d97.json
(1/10) HTTPS GET https://api.github.com/repos/RedpointGames/MonoGame/branches/develop
(from cache) https://api.nuget.org/v3/index.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/astarpathfinder/index.json
(from cache) https://api.nuget.org/v3/registration3/prototest/page/0.0.0-sha0005cfc6ef175922bfc0b764255b36d2d00cf381/0.0.0-sha138be61d44bf91b7428e9e34cb667bf6d364eb30.json
(from cache) https://api.nuget.org/v3/registration3/prototest/page/0.0.0-sha1405d1ab99b94c1b518cbce55e15812d2774c334/0.0.0-sha308c9c9b6de8e47584d716ad7342a1906013bf93.json
(from cache) https://api.nuget.org/v3/registration3/prototest/page/0.0.0-sha30d95f3f5ba4caf57d863608912aa214e5d37762/0.0.0-sha508fdc27e4cd54653d210c88079888390eaa02f6.json
(from cache) https://api.nuget.org/v3/registration3/prototest/page/0.0.0-sha50b416e6afafe21bc76fbc722f52d5892900f37b/0.0.0-sha6e6570437ca7e3e9d46f8b34126e1296b60f2f02.json
(from cache) https://api.nuget.org/v3/registration3/prototest/page/0.0.0-sha6f4fe00b3202b039e4edeb414e31dca048929496/0.0.0-sha8bbc61ed18663ddcba4a39efabfe39445a9c6653.json
(from cache) https://api.nuget.org/v3/registration3/prototest/page/0.0.0-sha8bcdc8ae1bcce145e3c764e62e7c1e796a7111d7/0.0.0-shaa4e2f52bffabdc041623b71077536140e044f3ff.json
(from cache) https://api.nuget.org/v3/registration3/prototest/page/0.0.0-shaa51723a89541ac478fc94491756a92b5ef926f70/0.0.0-shabe6206fe1c53ce7510b4f7bcff0f2cfaef44a0c1.json
(from cache) https://api.nuget.org/v3/registration3/prototest/page/0.0.0-shabec543d3ff1c53230978ccecad78302d756d5363/0.0.0-shadb0a8bfc905e6cc768d1af22c234bc3dfdef8bf2.json
(from cache) https://api.nuget.org/v3/registration3/prototest/page/0.0.0-shadb95dcc26af4a8075ba53793b7ea1a87ef3aba72/0.0.0-shaf78bf5514b41dbb810f68f7a762fc2ca2620ce0d.json
(from cache) https://api.nuget.org/v3/registration3/prototest/page/0.0.0-shaf7eb7a92e763ad66d1bd340fb26b22c844042a41/1.4.3.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/prototest/page/0.0.0-shaf7eb7a92e763ad66d1bd340fb26b22c844042a41/1.4.3.json
(1/10) HTTPS GET https://api.github.com/repos/RedpointGames/NDesk.Options/branches/master
(from cache) https://api.nuget.org/v3/registration3/astarpathfinder/page/0.0.0-sha0070565395fb224694d0bba8bc6c2f0e39021a3b/0.0.0-sha3a28468c0fd6ffd600d47ce84a7b61d4a56f39d6.json
(from cache) https://api.nuget.org/v3/index.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/protoinject/index.json
(from cache) https://api.nuget.org/v3/registration3/astarpathfinder/page/0.0.0-sha3b5c296b1e4494e30dd246b0c5f157b2cbd5f99f/0.0.0-sha705ede5e25378626a3ecbb6f9718fbe0ba4e6a12.json
(from cache) https://api.nuget.org/v3/registration3/astarpathfinder/page/0.0.0-sha708130f786003d79d52a27ea226b448a2faae634/0.0.0-shaa45c545cd6133512c7fdc51c39bba4085f2a47f9.json
(from cache) https://api.nuget.org/v3/registration3/astarpathfinder/page/0.0.0-shaa4c4cd665ef80f0387971683375a80dcdb2e3663/0.0.0-shadfde6affe1d36ea1204dbee8e9ba69b65b6127b6.json
(from cache) https://api.nuget.org/v3/registration3/astarpathfinder/page/0.0.0-shae0a58d2b9ce14191d4641e0017ce92285e969425/0.0.0-shafffe3c49b957fec9eb6bf213940aeddefa597067.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/astarpathfinder/page/0.0.0-shae0a58d2b9ce14191d4641e0017ce92285e969425/0.0.0-shafffe3c49b957fec9eb6bf213940aeddefa597067.json
(1/10) HTTPS GET https://api.github.com/repos/RedpointGames/Prototest/branches/master
(from cache) https://api.nuget.org/v3/index.json
(from cache) https://api.nuget.org/v3/index.json
(from cache) https://api.nuget.org/v3/registration3/newtonsoft.json/index.json
(from cache) https://api.nuget.org/v3/registration3/hivemp.temporarysession/index.json
(from cache) https://api.nuget.org/v3/registration3/protoinject/page/0.0.0-sha012109d8c0f67e60efc94df78d08369f3077106b/0.0.0-sha35b5337321e6721f7d39fec9edf2d18bb5dc4bf3.json
(from cache) https://api.nuget.org/v3/index.json
(from cache) https://api.nuget.org/v3/index.json
(from cache) https://api.nuget.org/v3/registration3/protoinject/page/0.0.0-sha36280d9992e6f9aa8ac1f0c8c67fd6b6416f4744/0.0.0-sha67ded011c5dcd3f0acd6212ea8ed2f15b1c4a2f5.json
(from cache) https://api.nuget.org/v3/registration3/hivemp.lobby/index.json
(from cache) https://api.nuget.org/v3/registration3/protoinject/page/0.0.0-sha69af5c07a89ca607e190fcf7d10da42137c4d548/0.0.0-sha95efe29e00fad9af22089009a8d53d01c5afb929.json
(from cache) https://api.nuget.org/v3/registration3/hivemp.natpunchthrough/index.json
(from cache) https://api.nuget.org/v3/index.json
(from cache) https://api.nuget.org/v3/registration3/protoinject/page/0.0.0-sha984e53b92920020c95ae2cae3311d8cb45d164ad/0.0.0-shac977bcdfdabf26505177baf7a0d78596124c67a4.json
(from cache) https://api.nuget.org/v3/registration3/hivemp.attribute/index.json
(from cache) https://api.nuget.org/v3/registration3/protoinject/page/0.0.0-shac9bf3091a7703e4b06f3a0cbbb3eadb6b7ccde8d/0.0.0-shafd9af097ef977a283e746301f7c20ab771fa5b68.json
(from cache) https://api.nuget.org/v3/registration3/protoinject/page/0.0.0-shafdec505e9218fe007c321729e2a70f6d02c5581a/0.0.0-shaff147b701b81c2ec3148a54032e97d0db2c8c2f5.json
(1/10) HTTPS GET https://api.nuget.org/v3/registration3/protoinject/page/0.0.0-shafdec505e9218fe007c321729e2a70f6d02c5581a/0.0.0-shaff147b701b81c2ec3148a54032e97d0db2c8c2f5.json
(1/10) HTTPS GET https://api.github.com/repos/RedpointGames/AStarPathFinder/branches/master
(1/10) HTTPS GET https://api.github.com/repos/RedpointGames/Protoinject/branches/master
Found an existing working copy of this package at C:\Users\Darkhog\Documents\gamedev\AssetFlipTycoon\Protogame\Windows\HiveMP.Attribute\Windows\..\..\Newtonsoft.Json
(from cache) https://api.nuget.org/v3/index.json
(from cache) https://api.nuget.org/v3/registration3/restsharp/index.json
Found an existing working copy of this package at C:\Users\Darkhog\Documents\gamedev\redacted\Protogame\Windows\HiveMP.Attribute\Windows\RestSharp
Found an existing working copy of this package at C:\Users\Darkhog\Documents\gamedev\redacted\Protogame\Windows\HiveMP.Lobby\Windows\..\..\Newtonsoft.Json
Found an existing working copy of this package at C:\Users\Darkhog\Documents\gamedev\redacted\Protogame\Windows\HiveMP.Attribute\Windows\RestSharp
Found an existing working copy of this package at C:\Users\Darkhog\Documents\gamedev\redacted\Protogame\Windows\HiveMP.NATPunchthrough\Windows\..\..\Newtonsoft.Json
Found an existing working copy of this package at C:\Users\Darkhog\Documents\gamedev\redacted\Protogame\Windows\HiveMP.TemporarySession\Windows\..\..\Newtonsoft.Json
Found an existing working copy of this package at C:\Users\Darkhog\Documents\gamedev\redacted\Protogame\Windows\HiveMP.Attribute\Windows\RestSharp
Found an existing working copy of this package at C:\Users\Darkhog\Documents\gamedev\redacted\Protogame\Windows\Protoinject\Windows\..\..\Prototest
(from cache) https://api.nuget.org/v3/index.json
(from cache) https://api.nuget.org/v3/registration3/mono.cecil/index.json
Finished submodule package resolution for Protogame
Package resolution complete.
Starting generation of projects for Windows
Loading: redacted.Content
Loading: Lidgren.Network
Loading:redacted
Loading: Lidgren.Network.References
Loading: Protogame
Loading: MGCB
Loading: Protogame.EntryPoint
Loading: Protogame.Resources
Scanning: Protogame.Resources (13 total files)
Loading: Protogame.Tests
Scanning: redacted.Content/assets (11 total files)
Scanning: redacted.Content/compiled (5 total files)
Loading: ProtogamePostGameBuild
Loading: MonoGame.Framework.Content.Pipeline
Loading: MonoGame.Framework
Loading: MonoGame.Framework.Net
Loading: MonoGame.Tests
Loading: MonoGame.Tests.References
Loading: Pipeline
Loading: PipelineReferences
Loading: NDesk.Options
Loading: IKVM.Reflection
Loading: protobuf-include
Loading: protobuf-net-ikvm
Loading: protobuf-net
Loading: protobuf-precompile
Loading: Protoinject
Loading: Protoinject.Example
Loading: Protoinject.FactoryGenerator
Loading: ProtogamePostLibBuild
Loading: Protoinject.Test
Loading: AStarPathFinder
Loading: Mono.Cecil
Loading: HiveMP.Attribute
Loading: Prototest
Loading: Newtonsoft.Json
Loading: Prototest.Include
Loading: RestSharp
Loading: Prototest.Library
Loading: HiveMP.Lobby
Loading: FrameworkReferences.Net
Loading: HiveMP.NATPunchthrough
Loading: Protogame.ThirdParty
Loading: HiveMP.TemporarySession
Loading: Jitter
Loading: ProtogameAssetTool
Loading: 2MGFX
Loading: ProtogameDocsTool
Loading: 2MGFXReferences
Loading: Framework.Content.Pipeline.References
Loading: FrameworkReferences
Skipping submodule generation for Protogame (there are no projects to generate)
Loaded XSLT from Protobuild
Loaded XSLT from Protobuild
Generating: redacted
Generating: (solution)
Loaded XSLT from Protobuild
Loaded XSLT from Protobuild
Loaded XSLT from Protobuild
Loaded XSLT from Protobuild
Saving service specification
Generation complete.
[exit] [5584] C:\Users\Darkhog\Documents\gamedev\redacted\Protobuild.exe --generate Windows exited with exit code 0
And it keep doing that each time I open project in protobuild manager. And again I have to suppress 1591 warning and again I have to add missing files…
The flag you want on the command line is --resync, not --generate. Generate discards changes made to .csproj files, while resync synchronises the changes back before regenerating.
For the warning, add the <NoWarn>1591</NoWarn> tag to the <Properties> section of your .definition file (under Build\Projects). You may need to add the <Properties> tag first. Something like this:
I know how to disable warnings. But how do I set protobuild parameters? I literally open protobuild manager, click on my project and it does this thing. No idea how to set parameters in Protobuild Manager, when I right click my project, I get norrmal browser menu (IE, I think).
In your project directory, there will be a Build folder. Inside that there will be a Projects folder. Open up the .definition file for your project in Notepad, Visual Studio Code or Visual Studio and edit it.
The Protobuild definition files describe your projects; they don’t change the invocation of Protobuild, but instead change what it generates.
When you open Protobuild Manager, it should generate the projects, and then open up Visual Studio. While you’re working in Visual Studio, leave Protobuild Manager open.
When you’re done or before you want to commit to your repository, hit Save All in Visual Studio. Then in the Protobuild Manager click the “Sync Now” button. That will save the changes back to definition files. Whenever you open Protobuild Manager it will generate by default, so if you forget to hit Sync Now after saving changes in Visual Studio or before closing Protobuild Manager, just double-click Protobuild.exe in the project folder instead and that will resync by default. It’s then safe to open up Protobuild Manager again.
The --generate / --resync advice applies if you are running Protobuild from the command line.