Error after installing nuget package in asp.net MVC project - asp.net

When i install CORS Nuget package (Microsoft.AspNet.WebApi.Cors), Following error shows (TemporaryGeneratedFile .....),
Error 112 SA1633 : CSharp.Documentation : The file has no header, the
header Xml is invalid, or the header is not located at the top of the
file. E:\~~~~~~~~\My
Projects\Development\Web\~~~\ServiceLayer\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 1 1 ServiceLayer
have anybody encountered it before?
Edit:
There is this stylecop enabled in the project.

Looks like a StyleCop issue, see the link for a fix
http://stylecop.soyuz5.com/SA1633.html

Related

how do i get the solution for following error

Could not resolve this reference. Could not locate the assembly System.Web.Entity. Check to make sure the assembly exists on disk. If this reference is required by code, you may get compilation errors."
I got this error when suddenly started visual studio from WindowsOS to mac OS.
Is there any solution, anyone knows for this error?
Simple fix: Use the NuGet package System.Web.Http.Common instead of System.Web.Entity

while integrating s3 with ckfinder3 it shows ckfinder/connector url not found

update ckfinder 2 to 3 and install packages using NuGet but while image browse in ckeditor it returns 404 error showing connector URL not found

Dotnet Core NuGet package dependency build issue on Azure DevOps

With no changes at all to source code or pipelines, I am now experiencing an issue where none of my build pipelines work anymore in Azure DevOps. The package that is being referenced isn't a dependency for this project, nor has it ever been. I can't work out what's causing this or how I can go about troubleshooting.
2018-11-26T10:25:14.2812751Z Restoring packages for C:\Agent\_work\19\s\OrchestrateIT.Web\OrchestrateIT.csproj...
2018-11-26T10:25:14.7577515Z C:\Program Files\dotnet\sdk\2.1.400\NuGet.targets(114,5): error : Unable to load the service index for source https://orchestrate-it.pkgs.visualstudio.com/_packaging/Shared_DBUpdate/nuget/v3/index.json. [C:\Agent\_work\19\s\OrchestrateIT.DataImportScheduler\OrchestrateIT.DataImportScheduler.csproj]
2018-11-26T10:25:14.7577910Z C:\Program Files\dotnet\sdk\2.1.400\NuGet.targets(114,5): error : Response status code does not indicate success: 401 (Unauthorized). [C:\Agent\_work\19\s\OrchestrateIT.DataImportScheduler\OrchestrateIT.DataImportScheduler.csproj]
2018-11-26T10:25:14.7579439Z 0 Warning(s)
2018-11-26T10:25:14.7579628Z 1 Error(s)
2018-11-26T10:25:14.7579743Z
2018-11-26T10:25:14.7579902Z Time Elapsed 00:00:02.18
2018-11-26T10:25:14.7906687Z ##[error]Error: C:\Program Files\dotnet\dotnet.exe failed with return code: 1
Local (manual) build works fine. I have already tried clearing Nuget cache and VSTS agent cache. A quick workaround might be to solve the authorisation issue (even though the package isn't required) however I'm not sure how to go about doing this.
Any advice would be greatly appreciated.
Even though my Personal Access Token had not expired, for some reason I needed to remove and add this package back to my sources with the same PAT. This resolved the authentication issue and therefore resolved the build issue.
It is still unclear to me as to why this package is being considered as a dependency for this project though.

blueprint upload error in cloudify 3.3

I have a written a very simple blueprint.yaml to install the MongoDB on a VM. When I am trying to upload the blueprint it gives me below error:
"An error occurred on the server: 400: Invalid blueprint - provider_context CONTEXT not found"
I am using following:
1. Cloudify CLI and Manager version: 3.3
2. It is successfully validated but issue comes while uploading blueprint.
3. I am using the embedded Nodecellar application blueprint
Any kind of help is appreciated.
Thanks,
Sanjiv
In most cases you will receive this error because you have a very large file in the same directory of the blueprint.
Please look for large files and move them from the blueprint directory or sub-directory's
Best,
Jonathan
This is fixed. Issue was with the manager bootstrap process.

RewrittenPath Class is missing in monox

I hope to build a social network website through monox. I downloaded monoX_5_1_40_5107. When I compiled monox project in visual studio, there are errors of missing RewrittenPath class. I searched the keyword "RewrittenPath" in the entire project, I can't find any definition about it. But when I like to continue and run the last successful build, the website runs well, I can create import the database into local database, and even can create new account info through website.
the compilation erorrs is as below: :
Error 3 The type or namespace name 'RewrittenPath' could not be found (are you missing a using directive or an assembly reference?) Documents\Visual Studio 2013\Projects\WebApplication1\WebApplication1\MonoX\T4Templates\RewrittenPaths.cs 27 13 WebApplication1
The latest version monoX_5_1_40_5150 was just released,and the problem is fixed in this version.So just update project with the latest version.

Resources