similarissue after vs update maybe;
why it clone here in temp my project and cache use all space
WinFormsCache\zac1wwnx.2oe\DesignToolsServer\UserAppData
and form design not open same for 5.0 and 3.1 core
Form edition .NET5 blocked by group policy - AppLocker blocking DESIGNTOOLSSERVER.EXE from TEMP folder
Dear support,
I do use current vs2019 v16.9.2
I do have currently an issue when trying to edit a Form of a project targeting .NET5: just get a popup "This program is blocked by group policy...."
Checking log from Event Viewer to see what AppLocker blocks: %OSDRIVE%\TEMP\WINFORMSCACHE\ZDU3FGFN.CIC\DESIGNTOOLSSERVER\DESIGNTOOLSSERVER.EXE was prevented from running.
There is no such error when editing a Form from another project targeting .NET Framwork 4.7.2.
What could be done? Is there a setting for vs2019 to use another temp folder?
Kind regards, Charles
3 answers
Sort by: Newest
-
Maksym Zaiarniuk 1 Reputation point
2022-09-27T09:39:42.23+00:00 -
Charles Lales 1 Reputation point
2021-03-26T11:04:16.703+00:00 Hi,
I can compile and exec .NET 5.0 Form.
Simply when trying to edit this form, vs2019 try to exec this:
%OSDRIVE%\TEMP\WINFORMSCACHE\ZDU3FGFN.CIC\DESIGNTOOLSSERVER\DESIGNTOOLSSERVER.EXEAnd %OSDRIVE%\TEMP is blocked by AppLocker for standard user.
If I run the application with ADM elevation -> working of course.
So 2 options:
- A setting in vs2019 let change this tmp location to another folder
- System Adm create an exception in AppLocker for this particular folder..
Kind regards,
Charles -
Dylan Zhu-MSFT 6,406 Reputation points
2021-03-26T02:17:22.293+00:00 Hi CharlesLales,
It seems that there are some limitation on your environment. You can try to follow these steps to troubleshoot it:
- Confirm you can use .NET 5.0 framework in your environment
- Try other machines in the same environment
- Uninstall and reinstall .NET5.0 framework
- Recreate a new Winform project
If they don't work, please contact your system adimistrator.
Best Regards, Dylan
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**