-
Notifications
You must be signed in to change notification settings - Fork 59
Unable to build sample project in Visual Studio #26
Comments
@Pzixel Are you applying the attribute in the same project where you have your code generator defined? |
@masaeedu I haven't this code changed at all. I just did |
@Pzixel Is this a consistent issue across machines? Maybe try nuking your repo and trying again. I just tried the following and get a successful build:
|
@masaeedu yes, it works (a little win here). However, if you build solution through VS you get these errors: |
@Pzixel The actual problem seems to be: |
@masaeedu I ran VS build after building in console thus all packages have to be restored. |
No idea what's wrong here? |
@Pzixel Isee from the screenshot that the console build was run as administrator. Are you running the VS as administrator too? |
@orellabac of course. I even set compatibility mode |
@Pzixel mmm I was able to reproduce your issue by using a similar path to what you are using. |
Bug is fixed in VS2017 update 2. |
@orellabac Few days later I tried to build it again, and encountered this issue again. So it's not being fixed by update2. I can provide any additional information but I don't really know what's causing the issue. |
@Pzixel Seems like a flaky issue. I don't know if you have a cloud storage account (onedrive/dropbox etc.), but if you could take a snapshot of a VM in which you've reproduced the issue and share the files we can experiment with it. I've personally been using the nuget packages in VS 2017 preview, and haven't had any issues. Even managed to implement XML type providers for C# 😄 |
@masaeedu good idea. However, I'm not really sure if it's easy to share 30gb-minimum-image of VM where this issue is reproducable. However, I think it's a good idea to test on fresh VM, because it may be environment problem. To be honest, if I add |
Ok, I just installed the freshest W10 and VS and was able to repro this issue. I'm studying how can I share it (it's 50 GB), becuase I have only 30GB in my OneDrive. I'd appreciate If someone know any free service where I can upload it. |
Here is link to my OneDrive folder. It's HyperV VM, 7gb archived, 20gb unzipped. Issue is totally reproducable there. |
This could be solved with killing all |
So, There is a workaround, but issue is still here. |
File locks are no longer an issue since v0.4.74 by #83, I think? |
Hmm, interesting. Gonna check it later, thank you. |
Ya, I thought #83 would have avoided this. Otherwise, what I tended to do was unload the project that couldn't build since it rarely needed to build during regular development in the sln anyway. |
I'll close this as it's possibly resolved, and I can't repro it with current master. |
I always get the same error:
I have just cloned repository, rebooted and only process running is VS so I don't know what's wrong with this I have even resintalled VS :) It didn't work.
Probably it's because of uncommon place for binaries, but I have fresh VS installation and fresh repo so it should be something with repo itself, environment is fine.
The text was updated successfully, but these errors were encountered: