I cannot install Blazorise in my Blazor server side app. I get the Error that "Microsoft.AspNetCore.Blazor" package could not be find - razor

I have a blazor server side app that is working without problem. (Net Core 3.1). I tried to install Blazorise according the quick start page in https://blazorise.com/docs/start. As my server has no internet access I have downloaded the packages "Blazorise.Bootstrap 0.7.2" and "Blazorise.Icons.FontAwesome 0.9.2.5".
I can install the "Blazorise.Icons.FontAwesome" without Error. But if I try to install "Blazorise.Bootstrap" I get the Error
"NU1101: Unable to find package Microsoft.AspNetCore.Blazor. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, Package source"
I cannot find any package like "Microsoft.AspNetCore.Blazor". What should I do now?
Update1:
I have found a package like "Microsoft.AspNetCore.Blazor.Templates 3.1.0-preview4.19579.2" but if I try to install I get Error
"Package 'Microsoft.AspNetCore.Blazor.Templates 3.1.0-preview4.19579.2' has a package type 'Template' that is not supported by project 'WebApplication7'"

I had some problmes at the beginning with updateing NetCore3.1 to Net6.0 But at the end I fixed them. So I could install Blazorise's last version without problem.
Thanks for the comments, suggesting that.

Related

The target "ResolveTagHelperRazorGenerateInputs" does not exist in the project

I am getting the following error when i try to build an AspNetCore Web Application targeting netcoreapp2.2.
Error MSB4057 The target "ResolveTagHelperRazorGenerateInputs" does not exist in the project. C:\Program Files\dotnet\sdk\2.2.103\Sdks\Microsoft.NET.Sdk.Razor\build\netstandard2.0\Sdk.Razor.CurrentVersion.targets
I have tried the following:
clear cache on vs according to this post
update vs2017 to 15.9.5
reinstall net core sdks
reinstall vs
Nothing helped. I first got the error during an upgrade from core 2.1 to core 2.2 on a different project, and it's possible that by mistake edited the
Sdk.Razor.CurrentVersion.targets file. From that moment on, i keep getting this error on any project that targets core 2.2 (even new ones).
Does anyone encountered this problem or have any clues about solving it?
Thanks
After long battles it figured out to be a problem with VS NuGet Package Manager.
All I had to do was:
VS > Tools > Options > NuGet Package Manager > Clear All NuGet Cache(s).
The Following Link was my solution. I also struggled to get this fixed.
Just copy the files from the NetStandard2.0 folder from GitHub then replace it with you Directory from the same location.
Hopefully this helps someone.!
Here is the Answered Link:
https://social.msdn.microsoft.com/Forums/en-US/cafc9823-eb61-46f7-8489-007242ef2ad2/target-quotresolvetaghelperrazorgenerateinputsquot-does-not-exist-in-the-project?forum=msbuild
Here is the GitHub Link
https://github.com/aspnet/Razor/tree/master/src/Microsoft.NET.Sdk.Razor/build/netstandard2.0
I encountered the same issue during the Azure build pipeline process, and clearing the NuGet package cache resolved the issue.
Solution:
I used a dotnet tasks with "custom" to issue the following command before NuGet package restore task:
command:
dotnet nuget locals global-packages -c
Screenshot shows the build pipeline task
For me the solution was as follows:
In Visual Studio
Right click on each project and click "Unload Project"
Right click on each project and click "Reload Project"

Marmalade: error LNK1181: cannot open input file 'python.lib

I'm trying to build Marmalade project for Windows Phone 8 in Visual Studio Ultimate 2012 but receive following error:
error LNK1181: cannot open input file 'python.lib'
Seems that it happens because of wrong path to project's additional library directories. Currently it's c:\users\*user_name_omitted*\appdata\roaming\marmalade\packages\6.3.0\python_2.6.4\lib\wp8\x86
But in fact there is no wp8 folder. As I understand this foulder should be created automatically...
I have Marmalade evaluation license.
How can i get rid ot this error?
Two suggestions:
I've not got a working version to hand, but the bundled version of python with marmalade is (IIRC) 2.5.x, so the reference to 2.6.4 looks odd. I wonder if when you ran s3eConfig it was running a different version and got confused? More as like it should have downloaded some extra stuff and has not.
It might be worth uninstalling marmalade and then re-installing. There are reports of people not having a full installation following the install.

Upgrading umbraco from 4 to 6

I would like to install Umbraco 6.1.x, but my host suffers from this issue: http://issues.umbraco.org/issue/U4-1632
Basically, I can't install 6 due to an incompatibility with MySQL on Linux and Umbraco 6, but I read that I can upgrade from 4.x.x and then upgrade to 6. The question is, how do I do that? I.e. what files do I need to upload and edit such that the database remains, but all umbraco files are version 6?
Yes, according to the bug report you can install a Umbraco v4.11.x and then upgrade this to v6.1.x and this should work fine.
The downloads are all available here: http://our.umbraco.org/download
However, the easiest way to get Umbraco set up is to use NuGet in Visual Studio. So you could run the following line from the NuGet console:
Install-Package UmbracoCms -Version 4.11.10
You'll have to use the console for this because if you use the Package manager, it will just install the latest Umbraco package version.
Next, load your site in a browser and configure the database settings. Then upgrade using NuGet again. I find the easiest way to do this is to open the NuGet package manager in Visual Studio, select "Updates", find the Umbraco package and click "Update". This will automatically update all the files for you.
You will then need to load up the site again, at which point it will prompt you to upgrade, and you can just follow the steps in the wizard.

Nuget packages keep failing on wp8

I have had an issue over the past few weeks with nuget package manager. Basically everytime I try to install a package it gives me and error like this:
Install failed. Rolling back...
Install-Package:
Could not install package 'WPtoolkit 4.2013.06.11'. You are trying to install this package into a project that targets 'WindowsPhone,Version=v8.0', but the package does not
contain any assembly references that are compatible with that framework. For more information, contact the package author.
I get a similar issue with every package I try to install even though the packages clearly state they support wp8.
This issue is getting very frustrating and is making the nuget package manager feature all but useless for me.
Any help would be greatly appreciated.
Needed to update package manager

Error installing Visual Studio Express: "failed to open XML file"

I'm trying to get my feet into ASP.NET, and so, I began by trying to install Visual Studio Express from http://www.asp.net/get-started, and it gives me
error 25541 - failed to open XML file
I've been trying at this since the past two hours, and I've absolutely no idea how to fix this. Any help?
Try these solutions.
Re-register msxml3.dll by running regsvr32 msxml3.dll
Re-install MSXML3 by downloading and installing the package from http://www.microsoft.com/downloads/details.aspx?familyid=28494391-052b-42ff-9674-f752bdca9582