Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed when the DesignTools assemblies are loaded by Visual Studio. #13

Open
benZhai01 opened this issue Nov 21, 2019 · 6 comments
Assignees

Comments

@benZhai01
Copy link

I'm sorry that I can't find a correct place to report the issues of xaml design time. if any suggestions, please let me know☺.

Environment:

Microsoft Visual Studio Enterprise 2019 Preview
Version 16.4.0 Preview 5.0

Issuse:

After opening the MainWindow.xaml in DemoApplication project(building the entire solution successfully before, so I think the DesignTools is loaded by VS), then I modify some code in CustomControlLibrary.WpfCore.DesignTools project and want to re-build it, but failed.

image

Is there any way to improve this? because it's really a nightmare during developing the XAML design time.

@hemantbajpai4
Copy link
Contributor

VS loads assembly and it gets locked on disk so we get build errors. Workaround is to close VS instance and open it again then build should work.

@benZhai01
Copy link
Author

@hemantbajpai4

VS loads assembly and it gets locked on disk so we get build errors. Workaround is to close VS instance and open it again then build should work.

Yeah, that's a workaround, but it's weird and really inconvenient to me, can we have another better option? it's impossible?
Seems the old architecture won't have the problem, the new one should not at least be worse than the old one, right?

@benZhai01
Copy link
Author

Any updates?

@benZhai01
Copy link
Author

I spent almost half of the time to restart VS when developing desgin time assemblies. Can anyone address it?

@hemantbajpai4
Copy link
Contributor

We will investigate this and update you, currently I am reopening this issue. Thanks

@dongyaosheng
Copy link

Can I release the occupation of the corresponding designtool.dll when the view is closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants