BundlerMinifier icon indicating copy to clipboard operation
BundlerMinifier copied to clipboard

Exception User canceled out of save dialog

Open totpero opened this issue 9 years ago • 7 comments

Installed product versions

  • Visual Studio: 2015 Enterprise
  • This extension: 2.1.279

Description

Exception in output window

Steps to recreate

  1. Open Task Runner
  2. Right click from JavaScript in bundleconfig.json
  3. Bindings -> Check After Build
  4. to recreate

Current behavior

11/3/2016 1:24:57 PM: System.Runtime.InteropServices.COMException (0x8004000C): User canceled out of save dialog (Exception from HRESULT: 0x8004000C (OLE_E_PROMPTSAVECANCELLED))
   at EnvDTE.ProjectItems.AddFromFile(String FileName)
   at BundlerMinifierVsix.ProjectHelpers.AddNestedFile(String parentFile, String newFile, Boolean force) in C:\projects\bundlerminifier\src\BundlerMinifierVSIX\Helpers\ProjectHelpers.cs:line 138

Expected behavior

No exception

totpero avatar Nov 03 '16 11:11 totpero

@totpero I'm unable to reproduce this with the latest version of the extension (v2.2.307). Have you tried using that version already?

scottaddie avatar Nov 29 '16 02:11 scottaddie

Might this be related to this Issue #201 that I raised, the same function calls are involved.

dammitjanet avatar Dec 07 '16 09:12 dammitjanet

@scottaddie only one time i get this error.

totpero avatar Dec 07 '16 18:12 totpero

Seen after using Visual Studio 2019 Community - creating a new Python project for Machine Learning using the cookie cutter for a classifier template. Microsoft Visual Studio User canceled out of save dialog (Exception from HRESULT: 0x8004000C (OLE_E_PROMPTSAVECANCELLED))

marcusobrien avatar May 25 '20 01:05 marcusobrien

i am getting the same error when i try to create python project from existing source.

itskhurrams avatar May 27 '20 07:05 itskhurrams

And me getting the same error when i try to create python project from existing source.

yellow444 avatar Jul 26 '20 17:07 yellow444

Please make sure your project file is not locked. You can check it by trying to edit the project file (.csproj file). If this file is locked, you cannot add the dependencies.

projectfile

Tell the person who locked the file to check in or undo the project file and then try to add the dependency

BIJINPALAKKAL avatar Mar 17 '21 04:03 BIJINPALAKKAL