Error:this template attempted to load content assembly - vb.net

Ok i recently got visual studio pro just so i could create phone applications in vb.net. Yet when i installed the template i got this error Error:this template attempted to load content assembly. I already have all nuget installed and the error was displaying before i had it so i really need help here. I'm usualy visual studio 2010 ide and trying to load the following temaplte:vb windowsphone application template under silver light. AND SO EVERYONE KNOWS I HAVE TRIED INSTALLING NUGET IT CHANGED NOTHING. Any help would be much appreciated thank you.

Check out the link below;
http://www.itorian.com/2012/08/error-this-template-attempted-to-load.html
No the error is not the same. But the error message you provided is only half and cannot know which template/component is giving the error.
Provide the full error to help you better.
Athar

Related

Cannot compile Visual Studio's template for UMDF USB drivers

The line:
#include "device.tmh"
appears underlined in red, and an error is reported that "the source file cannot be opened" (I'm translating from Spanish here, the wording might be different in English).
Also, words like:
TRACE_LEVEL_INFORMATION, TRACE_DRIVER
all appear underlined in red. "The identifier is undefined".
What's happening?
I know this question was asked 4 years ago but for anyone who comes across this question in future, even uninstalling and installing the visual studio didn't seem to help.
It worked for me when I installed spectre migrated libs as instructed in this tutorial's step 1.
The new project was built successfully after installing the above mentioned libs and running visual studio as an administrator.
As #arminb stated this is probably a flaw within Visual Studio. After going to Control Panel\Programs\Programs and Features and right-clicking on Microsoft Visual Studio and click on change, a simple Repair can solve this issue.

Visual Studio Tools for Office VSTO "customization assembly could not be found or could not be loaded"

I just installed Visual Studio 2012 Ultimate and I am trying to create a managed code extension project for Excel 2010 (32 bit Office Professional Plus). I have tried using the .NET 4.0 template contained in VS Ultimate for an Excel 2010 workbook. When I create the project everything looks fine until I run it.
Excel opens and I get the error message "The customization assembly could not be found or could not be loaded. You can still edit and save the document. Contact your administrator or the author of this document for further assistance." The details section is blank.
I have tried everything I could think of to figure this out and I have run out of ideas. I removed all addins from Excel except for the VSTO Design-Time Adaptor for Excel. I removed all personal macros. I set every directory I could think of to "trusted" in Excel and lowered the security settings for all options to "enabled (not recommended)". I completely uninstalled Visual Studio and re-installed. There are no errors or warnings showing up in Visual Studio. I also checked to make sure ".NET Programmability Support" was installed for my copy of Microsoft Excel.
I would link my code but I haven't written anything. I can't even get the default template to load when I run the project. A few others at work have the same setup as me and VSTO runs fine for them using the same steps. I even had someone send me a working project but it gives me the same message when I try to run it.
Is there anything else I can check to see where the problem is occurring? I tried setting break points in the project but it is failing before it gets to any of them.
Thanks so much for your help.
I've run into the same problem with Visual Studio 2010.
I isolated the problem to an SSRS reporting link we were trying to run from the add-in. I removed all the reporting stuff (service reference, sub-dirs, etc.) - the add-in runs fine.
We just ran into this and discovered that a method had a system exception that was not handled. It was hard to track down but once the culprit method had an exception handler the customization finished loading properly.

Visual Studio 2012 crashed while adding data source to report viewer

I am trying to create rdlc report in vs 2012 ultimate. report was working fine on vs 2010. Now problem is: Visual studio crashed (closed) when I try to add data source in report viewer.
any suggestion to resolve this issue. Is this a known error in vs 2012 ultimate ?
I was with the same error, then I removed the PdfSharp and MigraDoc libraries from the project.
No errors anymore.
EDIT:
Actually, the error was in the source control.
PdfSharp.Charting was removed but the project still was refer it.
Unfortunately this is a known issue in both Visual Studio 2012 and Visual Studio 2013, it is mentioned in this Microsoft Connect bug.
A workaround has been posted on this MSDN blog.
I also had this problem. I was able to add reports to a new project so I knew there was a problem with my project. After much trial and error I determined that I had some unnecessary references that got carried over from an older project. The references were not correct and were missing some dependencies. After deleting these references my problem was resolved.
I encountered this fault after migrating a project from VS2010 to VS2012 recently.
The fix that work for me was to open the .rdlc in a text editor, and look for the tags that contain the path to the dataset used in the report. They looked like this:
<rd:SchemaPath>.......some path.....</rd:SchemaPath>
In my case the path was the old path to where the source was previously kept when I was working in VS2010. I had changed the location of the project on my PC and this path was now invalid.
So I updated the path to the correct location, saved the RDLC, and everything works fine.
I debug and found that if you download VS- Command the problem is resolved

mvvm-light : losing intellisense on VS2012

We are using MVVM Light Toolkit (from Galasoft - Laurent Bugnion).
Until now we were using Visual Studio 2010.
Everything was working well (thanks to Laurent).
Two days ago we moved to Visual Studio 2012.
And now Intellisense is no longer working in Xaml files (but still working in code-behind).
After looking on forums and made some tests, it appears that we have an issue with "GalaSoft.MvvmLight.Extras.SL5.dll".
As soon as GalaSoft.MvvmLight.Extras.SL5.dll is removed from project references, intellisense is working again.
Someone already had same problem and/or know a solution ?
Thanks.
Alain.
We had a similar problem when we migrated from Silverlight 4 to 5. We were using a local copy of GalaSoft.MvvmLight.Extras.SL5.dll copied from another computer.
Once we installed the MvvmLight .msi package and changed the reference in our Silverlight project to C:\Program Files (x86)\[...]\GalaSoft.MvvmLight.Extras.SL5.dll, IntelliSense started working again.
Hope this helps

Visual Basic Compiler keeps crashing

The question really says it all. For one project I am working on, the Visual Basic Compiler crashes resulting in me having to restart my IDE.
It looks like it crashes when copying a PDB file and XML file for the web site for obj/debug to the output folder.
Has anyone experienced similar crashes? If so how did you repair it?
Are there any crash logs stored anywhere??
I am using visual Studio version
8.0.50727.762 (SP .050727-7600)
After contincually hitting send error report to microsoft I finally got a little message box saying "We think this might be your problem" with this Link
I believe this is my problem... I have still to obtain the hot fix
Do you actually get an error message or code when it crashes, or do you just get the "Visual Studio stopped working" error message?
I'd second trying to uninstall, reinstall, and reapply SP1, just to make sure it isn't something with your installation. I've never had the VB compiler crash on me, and I'd imagine that permissions problems and other exceptions moving a file would be completely covered within the compiler's internals.
You can try using the event viewer in Administrative Tools to see if any logs were recorded.
Looks like you aren't running Visual Studio 2005 SP1. We had tons of VBC crashes before SP1 -- it was a wonder they even made to RTM on the product. Just terrible. Install Service Pack 1 and your problems will most likely go away.
Have you already tried cleaning your solution/project?
Sometimes the .suo, .ncb and other files maintained by Visual Studio get corrupted resulting in crashes during complilation or debugging.
Simply delete .SUO file and get Nirvana :)