• 0

[C#] Can't create VSIX file. Please help.


Question

I can't seem to find any article that tells me how to fix my problem. I've tried cleaning and rebuilding everything with no go. I've put together some free controls for the public to use and I want to make a VSIX file. Seems simple enough, so I go download the Visual Studio 2012 SDK and install it, create the VSIX according to this blog: http://timheuer.com/blog/archive/2012/03/07/creating-custom-controls-for-metro-style-apps.aspx exactly how he has it but when I try to compile the vsix project it says:

The target "PkgdefProjectOutputGroup" does not exist in the project. I'm tugging my hair out here this should not be this hard. I can manually move the files to the extensions folder for vs and get it to show up in VS and work with my projects why can't I create a VSIX file of it? So far googling that error retrieves no results.

Link to comment
https://www.neowin.net/forum/topic/1129634-c-cant-create-vsix-file-please-help/
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I created a project template for my sample ASP.NET MVC4 project in visual studio 2012 and then export template from file menu. Next I created a Vsix project where I added exported template zip file and its references in VsixManifest. Then I build the project which succeeded. I went to the location where I find the .vsix file and double click on it to install that template. When I opened new instance of visual studio I was able to see that template in the visual studio new project dialogbox. It worked until this point. I need to give the .vsix file to different users in my team. As soon as they double click on file template should create on there project dialog box. It did. But getting problem at resolving references. I tried to enable nuget package manager. Still same issue on their machine. This technique resolved references on my machine but not there machine. Is there any way to fix the issue of resolving dll references. Help would be appreciated.

Thanks,

Munni

This topic is now closed to further replies.
  • Posts

    • They always have. This just updates what's included out of the box during the initial install.
    • So basically their prebuilding it into the ISOs?
    • Microsoft shares Defender anti-virus update for new Windows 11/10 ISOs by Sayan Sen Following the one for Lumma last month, Microsoft has also published a new Defender update for Windows 11/10/Server installation images this month. This update package is necessary as a Windows installation image may contain old, outdated anti-malware definitions and software binaries. Aside from better security, these updates can also provide improved performance benefits in some cases. When a new Windows installation is set up, there may be a temporary security risk due to outdated Microsoft Defender protection in the OS installation images. This happens because the antimalware software included in these images might not be up to date. Thus Microsoft says that these updated definitions essentially help close this protection gap. Microsoft delivered the latest security definitions for Windows images via security intelligence update version 1.431.54.0. The Defender package version is also the same. It applies to Windows 11, Windows 10 (Enterprise, Pro, and Home editions), Windows Server 2022, Windows Server 2019, and Windows Server 2016. Microsoft writes: From Microsoft's security bulletin, we learn that the security intelligence update version 1.431.54.0 was released this past week adds threat detections for various backdoor exploits, trojans, among others. For those wondering, the latest intelligence update is version 1.431.155.0 at the time of writing.
    • “In other news about OneDrive frustration, Microsoft recently locked out a user who was attempting to move a bunch of important data from old hard drives to OneDrive.” - It was probably CSMA..
    • Just what I needed! An extremely expensive pair of sunglasses that I will lose and cannot use indoors. My life will be complete. I trust Meta AI watching my entire life happen. It's going to be the best ever!
  • Recent Achievements

    • One Month Later
      SekTheFirst earned a badge
      One Month Later
    • First Post
      zayanhani earned a badge
      First Post
    • First Post
      HarryTaylor earned a badge
      First Post
    • One Year In
      Eternal Tech earned a badge
      One Year In
    • One Month Later
      Eternal Tech earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      651
    2. 2
      ATLien_0
      233
    3. 3
      Michael Scrip
      226
    4. 4
      Steven P.
      140
    5. 5
      +FloatingFatMan
      139
  • Tell a friend

    Love Neowin? Tell a friend!