I have a DSL project for VS2005(Active Writer Customized) .I want to make it compatible with VS2010.So
I migrated the project with DslProjectsMigrationTool.exe which comes with vs2010 SDK.
Created new dsl project in vs2010 and moved my migrated codes to the new project.
Here my Dsl project is building fine.But DslPackage project is showing the following build error.
Error 48 : No Visual Studio registration attribute found in this assembly.
But some blogs relates this error to RegPkg.And i don't have any idea about RegPkg.
Any solutions to resolve build error?
This looks like it could be to do with the RegPkg version. Perhaps try the solution discussed here, which effectively uses Reflector to check which version of RegPkg is expected.
Related
Entity Framework 6.3.0 was published on 2019 Sep 23. I have two projects in my solution that were using 6.2 and I tried to upgrade to 6.3.0 via NuGet.
One project called DatabaseInterface has an output type of "class library". The other project outputs a "console application".
When I run the upgrade from NuGet the following error happens for the project that is the class library.
An error occurred while applying transformation to 'App.config' in
project 'DatabaseInterface' No element in the source document matches
'/configuration/configSections/section[#name='entityFramework']'
This project, called DatabaseInterface does not even have an App.config file so the error is referring to a file that does not exist. This project has a packages.config file.
Published problems with a similar error are related to web projects so they are probably not closely relevant to my problem. What is the solution to this problem?
Context: Visual Studio 2017 Community, Visual Studio 2019 Community, Windows 10
Uninstall 6.2 and then install 6.3. This seems to cause the automatic deletion of packages.config and there will be no error associated with App.config nor will there be the creation of that file. Subsequent builds do not seem to require the presence of packages.config.
I have created a brand new Xamarin.Forms project, targeting iOS, in Visual Studio for macOS, and when I try to build I get the following errors, in AppDelegate.cs, about missing assembly references.
I have tried adding references, but I am presented with a blank window.
I also tried updating all NuGet packages, since I found an SO answer which suggested this might resolve the issue, but I'm still having the same problems.
This is my first experience of trying to use Xamarin, and so I really have no idea what I'm supposed to do or what references the project requires to be able to build.
The following are all the dependencies the template project starts out with.
Does anybody know what it is that's missing? How can I get this working? I have XCode 9.3 installed, and Visual Studio is up to date, so that shouldn't be an issue I don't think.
The following image shows the structure of the two projects created when I ran the wizard to generate the new Xamarin.Forms solution.
I am trying to build a project that was created with MVC 4.0. There were errors with 'AllowAnonymous' attribute, because the build server did not have MVC 4.0 installed. So, I started installing MVC 4.0, but the setup prompted me to install Visual Studio 10.0 SP1 first, so I installed VS 10.0 SP1 and then installed MVC 4.0. The errors related to 'AllowAnonymous' attribute went away after the next build. But now I am getting an error which says - The target "_CopyBinDeployableAssemblies" does not exist in the project.I have tried a couple of solutions found on stack overflow that suggested
Importing the project Microsoft.Application.Web.Targets and Microsoft.Web.Publishing.Targets.
Install/Repair using the exe at http://go.microsoft.com/fwlink/?LinkId=253458.
But nothing has worked so far.
Please help me.
I managed to resolve this error by adding an empty targets tag in the .csproj file for the project:
<Target Name="_CopyBinDeployableAssemblies"></Target>
Found this on stackoverflow itelf in the response to a similar question:
Why do I get the error "The target GatherAllFilesToPublish does not exist"?
I am using VSTS for a project that is using TypeScript. We have a CI Build configured and suddenly that one stopped working today. Yesterday all was fine, today they are all failing.
Looking into the build logs I discovered that it's not finding the TypeScript compiler that we specified:
Warning : Your project specifies TypeScriptToolsVersion 2.1, but a matching compiler was not found. The latest available TypeScript compiler will be used (2.4). To remove this warning, install the TypeScript 2.1 SDK or update the value of TypeScriptToolsVersion.
So all of a sudden it starts compiling with TypeScript 2.4 and we have some code that's not compatible with that version (Promises).
I have defined the TypeScript Tools Version in our .csproj as
<TypeScriptToolsVersion>2.1</TypeScriptToolsVersion>
and that seems to be working as I read in the build logs that it tried using that one first.
Any idea what caused VSTS suddenly to "forget" about TypeScript 2.1 and how I can fix this? I could not find any update notification or anything.
Right click on Project and click properties
Click on TypeScriptBuild and Select Use Latest Available
That means the TypeScript SDK has been updated on build server. If you are using private build agent, you can check it on your build server. If you are using Hosted agent, it will be updated irregularly (official article isn’t updated)
Regarding this issue, you can refer to these threads:
For VS 2015 project (Microsoft.TypeScript.MSBuild package): Visual Studio Team Services build Typescript error
For VS 2017 project (Microsoft.TypeScript.MSBuild package): Angular4.1 with .NET Core1.1 build fails in VSTS Hosted VS2017 agent
I am using Visual Studio 2015 Enterprise to generate Coded UI Tests. Things have been working well until this morning. When I attempt to create a new Solution/Project, I am given the following error:
I am then able finish loading the project. However, I see another issue in solution explorer:
Note that there is no path given for the selected reference. If I try to remove it/add it back as a reference manually, I still do not see a path or version. I have tried the following:
Selected different .Net framework versions when creating the solution/project
Tried different project types: Window Forms, Class Library
Repaired visual studio
Repaired .Net Framework 4.6.1
So far I have been unable to make the error go away. Any other suggestions?
I was not able to resolve this issue. I ended up performing a reinstall of the OS/Visual Studio to get things working again.