I am facing "Roaming Manager package. " issue. This occurred after I tried to install AjaxControltoolkit which was not installed properly. To resolve the issue I tried uninstalling it,repair and resetting command option.but I see it whenever I try to open the project.
Please help me
I was getting the same problem
<entry>
<record>455</record>
<time>2016/06/06 19:04:28.244</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [Roaming Manager Package]</description>
<guid>{54888390-2C04-4B04-B451-3166730C75BA}</guid>
<hr>80070057 - E_INVALIDARG</hr>
<errorinfo>Object reference not set to an instance of an object.</errorinfo>
Following a lead I found in another thread I removed this key from the registry
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config\AutoLoadPackages\{54888390-2C04-4B04-B451-3166730C75BA}
Then I restarted and the error went away and ActivityLog.xml was did not updated
Then it finally clicked what the Roaming Manager Package was...
It's the synchronized settings in Options --> Environment
So I went there and I got this:
I clicked Yes Selected another setting and then re-selected the "synchronized settings" option and got this:
Now, the error when you open is gone at this point. But the error when you select the synchronized settings option remains.
So you could just leave it at this if you don't care about this option
I'd like to use this option so I continued my research until I ran out of time, but I was able find these registry locations
NOTE: You can have several of the 14.0_Config folders, I think they are based on your workspace but not sure yet, like this:
It's just something to note as you look at the screen shots because some come from different keys
here they are and I'll try to follow up when I get a chance but I don't know when that will be
Related
The JetBrains Rider I'm using is the latest version, 2019.1.2 (free 30-day trial), from the official website. It's not a broken version.
I have a solution which contains an ASP.NET web API csproj. The solution was working properly in IIS, or VS + IISExpress.
Like VS, Rider also creates some configuration files in the folder .idea. In it, I can find the applicationhost.config file for IISExpress.
The problem is that IISExpress can never start and shows me an error once I start debugging in console:
**Failed to initialize site bindings**
Error initializing ULATQ. hr = 80070005
Terminating W3_SERVER object
InitComplete event signalled
Process Model Shutdown called
Waiting for all LISTENER_CHANNELS to stop
Unable to start iisexpress.
I checked the applicationhost.config file. It's the same as the one generated by VS. It also has the line of bind info, and I'm sure the port is available:
<bindings>
<binding protocol="http" bindingInformation="*:8080:localhost" />
</bindings>
Questions: Can Rider really work properly with IISExpress? Any idea how to config it and what files should be changed?
I finally found that, in Windows 10, it seems to be a permission problem that prevented Rider from starting IISExpress properly.
Solution:
Make sure to run JetBrains Rider as admin (most important for me, then IISExpress could work!)
Open the solution, right click the web project that will run on IISExpress.
Select Properties and go to the Web section.
Check Generate applicationhost.config before running it for the first time.
The URL should be http://locahost:8080/ (8080 could be any port. Has not supported any IP yet.)
Check Anonymous authentication to allow viewing and debugging the page.
Uncheck Generate applicationhost.config after running for the first time.
Make sure Rider is still working with IISExpress without any changes in both Properties and applicationhost.config.
Only if Rider is run as admin and the settings are correct in Properties would IISExpress work properly. Otherwise, it won't start or it merely returns HTTP 5XX/4XX.
Thank you #David Smith I found Generate applicationhost.config in edit Configuration iis here
Then find this option is here
I'm working with Xamarin-Android to make an application, so I need to set Build Action to my google-services.json file but there is no such Property as GoogleServicesJson, and when I try just to write it, it shows me an exception:
Exception of type 'System.Runtime.InteropServices.ExternalException'
was thrown.
I tried to save and then restart Visual Studio, but it didn't solve the problem.
If you know how to solve this problem, please help me! :)
That's the file I'm clicking on
The GoogleServicesJson build type comes from the Xamarin.GooglePlayServices.Basement.targets.
If your project does not have Xamarin.GooglePlayServices.Basement installed via one of its dependents, usually Xamarin.GooglePlayServices.Gcm or Xamarin.Firebase.Messaging if we are talking about messaging, then you will not have that build action available.
After adding a package that installs Basement, or manually adding it yourself, your .csproj will contain an import for Xamarin.GooglePlayServices.Basement.targets and GoogleServicesJson will be available as a build type:
.csproj import example:
<Import Project="..\packages\Xamarin.GooglePlayServices.Basement.42.1001.0\build\MonoAndroid70\Xamarin.GooglePlayServices.Basement.targets" Condition="Exists('..\packages\Xamarin.GooglePlayServices.Basement.42.1001.0\build\MonoAndroid70\Xamarin.GooglePlayServices.Basement.targets')" />
Even after installing "Xamarin.GooglePlayServices.Basement" GoogleServiceJson option was not showing. Surprisingly but when i quit Xamarin studio and opened it again it starts displaying.
1-Download first these Packages:
Xamarin.Firebase.Common
Xamarin.Firebase.Config
Xamarin.Firebase.Iid
Xamarin.GooglePlayServices.Base
Xamarin.GooglePlayServices.Basement
Xamarin.GooglePlayServices.Tasks
2-then restart and rebuild
3-from google-services.json --> Properties --> build Action: GoogleServicesJson
In Visual Studio close the Project and reopen it. That worked for me:)
Download first these Packages:
then restart
GoogleServiceJsom is coming from Xamarin.GooglePlayServices.Basement package. If it is not visible after the package installation restart your visual studio project, it will work
I tried installing every single package that people have suggested installing, I restarted my visual studio after each one, tried running as admin, restarted my computer, NOTHING would work. I could not get the GoogleServicesJson option to show up in my Build Actions list.
Looking at #SushiHangover 's comment, I tried just copying and pasting that line into my .shproj file and changed it to match the path to my nuget packages
<Import Project="C:\Users\<my user>\.nuget\packages\xamarin.googleplayservices.basement\117.6.0.3\build\monoandroid90\Xamarin.GooglePlayServices.Basement.targets" Condition="Exists('C:\Users\<my user>\.nuget\packages\xamarin.googleplayservices.basement\117.6.0.3\build\monoandroid90\Xamarin.GooglePlayServices.Basement.targets')" />
And this is the only thing that would finally work for me. Hope that it helps someone else!
I thougt i was doing it wrong but you dont get the Build action by rightklick it like a example from Mac
PS You dont right klick on the Google-Services.json and see the Build avtion
You press properties and then at the properties you find the Build action
While using AppCenter, I was not adding App centre and App Center Push packages to Android Dependencies folder. Upon adding GoogleServicesJson immediately showed up
I was getting stuck with this because the Microsoft guide https://learn.microsoft.com/en-us/xamarin/android/data-cloud/google-messaging/remote-notifications-with-fcm?tabs=windows which was saying to install Xamarin.GooglePlayServices.Base directly.
What worked:
install Xamarin.GooglePlayServices.Gcm through Nuget
Visual Studio 2013 Professional just started throwing this error on me, in the middle of switching solutions. A full reboot of the computer didn't resolve it.
Here's the error I see when I try loading a solution:
Now, when I go look at the log file it suggests, I see this:
SetSite failed for package [JavaScriptWebExtensionsPackage]
End package load [JavaScriptWebExtensionsPackage]
If I click "Yes" to continuing to show the message, and try loading up a file in the solution -- I get this message:
Telling me that No EditorOptionDefinition export found for the given option name: Tabs/ConvertTabsToSpaces - Parameter name: optionId.
I really do not know what to make of this. I didn't do anything except check in some files to TFS (which I do dozens of times a day, a week, a year). The only thing I ever did differently that I never did before was attempt to view Source>Annotations on a file (I've never did that in my life with TFS/VS) about 10 minutes prior - but that worked fine and was just ducky.
So - any ideas why I'm getting this message - and how to resolve it without a fullblown re-install?
So -- after posting this and adding that last screenshot (the No EditorOptionDefinition export... business) -- I decided to google on that phrase as well (the other key phrases brought me nothing).
It brought me to this page:
No EditorOptionDefinition Export Found Error
Which actually fixed the problem.
In short:
Close Visual Studio
Open the %UserProfile%\AppData\Local\Microsoft\VisualStudio\<version>\ folder
Rename or delete the ComponentModelCache folder
Restart Visual Studio.
I had the same problem, All i did was went to Control Panel and ran a Repair on VS 2013. Waited for it to complete and restart my computer and it worked.
In my case above solution not work out but when I tried to delete everything from
%LocalAppData%\Microsoft\VisualStudio\14.0\
from above location then I restarted visual studio 2015 then it works fine.
Hope anyone having this issue may resolve deleting everything from 14.0 directory
thank you
I had the same experience. Deleting %LocalAppData%\Microsoft\VisualStudio\14.0\ worked fine. I could not delete for permission reasons so had to delete from command line all files in 14.0.
We have a bunch of build definitions available through TFS, and these were visible under Team Explorer - Builds in VS until a few minutes ago, when I tried to add a couple of them to "Favourites".
All I did was right click a build definition, and select "Add to favorites", then repeat the process for another build definition:
The result however, is a now empty list of build definitions - I can't seem to find any of them again. Furthermore, I get the following error message:
An item with the same key has already been added.
Any ideas how to fix this? Anyone know where the list of "favorites" is stored? (My reasoning is that if I can find and empty that list, then perhaps this issue would disapear?)
I ran into the same issue today. I was able to resolve it with the following steps.
Close Visual Studio
Open C:\Users[username]\AppData\Local\Microsoft\Team Foundation\4.0\FavoritesStore
Move the xml file from that folder to some other location
Start Visual Studio, open team explorer and navigate to Builds
At this point, the Builds pane opened without the error and "My Favorite Build Definitions" was empty
Moved the xml file back to its original location
Refresh the builds pane.
After refreshing, my favorite build definitions were back!
You may try (this helped to me with the same issue) to delete all the files in the following folder and restart VS2012 (Source):
C:\Users[USERNAME]\AppData\Local\Microsoft\Team Foundation\4.0\Cache
This issue occurred for me today when I had a mystery dialog open and it was blocking user input. I could not locate it or bring focus to it. I had to force a shutdown of VS, and after restarting my favorites were corrupt.
I found you can delete the cache for the favorites directly and restart the IDE. As soon as it launches you will see that VS will recreate the folder, and as soon as you add your first favorite a new favorites file will be created at that location.
C:\Users\\AppData\Local\Microsoft\Team Foundation\4.0\FavoritesStore
Writing an application or clearing the adjacent Cache folder are not necessary.
Favourites are stored in metadata on the user or group. You'll need to write an app to clear them.
http://geekswithblogs.net/TarunArora/archive/2012/10/18/tfs-api-add-favorites-programmatically.aspx
I have a project in windows application than was in VS2008. Now I convert it to VS2010. When I want to run my project, I get this message:
"This application has failed to start because the application configuration is incorrect. Review the manifest file for possible error."
How to I can run my application?
Thanks.
I had the same problem where my entire C# solution was created in previous version and it did not work in new VS.Net version giving the same error. Here are a few things that will help you resolve the problem
Expand the References Item and check if any item has a warning symbol attached to it.
If (1) , click on References->Add Reference and try to add the reference which has the warning. Now the warning sign has to go away.
If the references displayed in 'Add reference' dialog box is grayed, you should probably get the reason by hovering next to the reference.
For me it was grayed and it clearly mentioned that the component is not compatible with the current .NET Target runtime. Right click on Project -> 'Properties' and try to change the .NET Runtime and give a shot by compiling the entire solution and try to execute it.
If it still fails , try looking at eventviewer logs by going to Start->Run->Eventvwr
This should be a good way to debug this problem.
Honestly...I deleted the App.config file and Re-build. And started working.
Without understanding what was going on, I was able to fix this issue for a Windows Forms project I had just converted from VS.Net 2008 to 2010.
After conversion the Target Framework was still .Net Framework 2. When I changed it to 4.0, my application could be started and debugged.
In then noticed a new line in app.config:
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
So, just for the sake of interest, I changed the Target Framework back to 2.0 and the line changed to:
<startup><supportedRuntime version="v2.0.50727"/></startup>
The application would still run.
Then, I removed the new line altogether and the application would still run!
Finally, I undid all my changes and started the conversion again. Now, the application would run immediately!
So, if you run into this issue, just try these steps and see if it helps you.
Check discussion here:
http://social.msdn.microsoft.com/forums/en-US/vbgeneral/thread/e60dcbf9-c6a0-47a6-bc37-68d4edc45276
In my case the reason for this error was an invalid app.config. R# renamed the root element from <configuration> to something else (probably because there was another variable that I renamed with the same name).
I found this by following Gopalakrishnan SA'S advice to look in the Event Viewer where I found:
Activation context generation failed for "my.exe".Error in manifest or policy file "my.exe.Config" on line 3. The application config file root element must be configuration.
In my case, I forgot just a simple note,
in the requestedPrivileges you should place one requestedExecutionLevel, NOT MORE
I checked the event viewer to find the error "The application config file root element must be configuration".
It turns out it was the namespace referenced in the app.config.
I had opened it in VS 2015 after it being created in VS 2008