VisualStudio 2013 - debugging on Remote Machine error - c#

I'm trying to run my blank Windows Store Application using "Remote Machine" from VisualStudio 2013.
I installed Remote Tools x86( 64 doesn't work) for VS 2013 on Tablet ( Windows 8, Intel Atom).
After clicking Start Debgging in VS2013 incoming connection is shown in Remote Debugging Monitor on Tablet, but I get an Error:
(..)
2>------ Deploy started: Project: store (Windows 8.1), Configuration: Debug Any CPU ------
2>Error : DEP0600 : The following unexpected error occurred during deployment:
2>Data at the root level is invalid. Line 1, position 1.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

Related

Visual Studio 2015. Unable to publish my project - appears to build fine

Visual Studio 2015.update3 - fully updated & patched - windows 8.1 - .net 4.7.1
2>------ Publish started: Project: Prometheus, Configuration: Release x64 ------
2>Connecting to C:\Temp\publish...
2>Project "test.csproj" (GatherAllFilesToPublish target(s)):
2> Building with tools version "14.0".
2> Target "ValidateMSBuildToolsVersion" skipped. Previously built unsuccessfully.
2>Done building project "test.csproj" -- FAILED.
2>
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, **1 failed**, 0 skipped ==========
I have searched and tried every solution online - no joy. Have spent over 3 days trying to sort this out - getting super frustrated now. It appears to build fine but always fails to publish to a local folder on the pc.
Hoping someone can point me in the right direction.
Note: I have tried Any CPU, Debug, and Release configurations - all end the same. I have configured the build to output diagnostic information which is available on request.

Can't publish a ClickOnce Application using the Publish Wizard

I' trying to publish ClickOnce Application to a webserver through sftp (Using Visual Studio 2015. The server is Centos 6.7).
My final config in the Publish Wizard:
The application will be published to:
sftp://10.1.0.88/home/www/sample/web/desktop/
Users will launch this application from:
http://sample.example.com/desktop/
When I published: (Output)
Connecting to 'sftp://10.1.0.88/home/www/sample/web/desktop/'...
Publishing files...
Publish success.
Warning: Unable to view published application at http://sample.example.com/desktop/publish.htm.
http://sample.example.com/desktop/publish.htm
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
Nothing was added in /home/www/sample/web/desktop/. But it says Publish success.
What should I do?
It turned out the deployment files were added to /root/home/www/sample/web/desktop/instead of /home/www/sample/web/desktop/
So I change publishing folder location from
sftp://10.1.0.88/home/www/sample/web/desktop/
to
sftp://10.1.0.88/../home/www/ecr/web/desktop/

Deploy error SQL01234: the database version is not supported, not able to deploy ..how can i solve this

I am using VS2010 and SQL Server 2012, I am trying to deploy SQLCLR database project with simple code in VS its showing deploy failed and error is:
The following error might appear if you deploy a SQL CLR project that
was built for a version of the .NET Framework that is incompatible
with the target instance of SQL Server: "Deploy error SQL01268: CREATE
ASSEMBLY for assembly failed because assembly failed verification". To
resolve this issue, open the properties for the project, and change
the .NET Framework version. C:\Program Files
(x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.SqlClr.targets(96,5):
Deploy error SQL01234: The database version is not supported.
Build FAILED.
Time Elapsed 00:00:00.02
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

SignTool Error --> I cannot create a package for my application and only this app

1> IPC-ACE -> C:\Users\Samer.Chemaly\Documents\Visual Studio 2012\Projects\IPC-ACE-1\IPC-ACE\bin\x86\Release\IPC-ACE.exe
1>MakePRI : warning 0xdef00520: Invalid qualifier: 12-SEC
1> IPC-ACE -> C:\Users\samer.chemaly\Desktop\ACE-IPC\IPC-ACE_1.1.0.2_x86_Test\IPC-ACE_1.1.0.2_x86.appx
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1772,9): error APPX1204: Failed to sign 'C:\Users\samer.chemaly\Desktop\ACE-IPC\IPC-ACE_1.1.0.2_x86_Test\IPC-ACE_1.1.0.2_x86.appx'. SignTool Error: An unexpected internal error has occurred.
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1772,9): error APPX1204:
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Package: 0 succeeded, 2 failed ===========
This is the error I am getting when I try to create the app package.
The issue was strange! I recreated the app and started to create items page by page and item by item. The issue was in a presentation file available in the assets with and extension .exe
The error that was showing is irrelevant at all but this is for you to know in case you face a similar issue. thank you :)

Error in code publishing

If I publish the code then it is not copying in web folder that exists in wwwroot .
Empty folder is there but while publishing it is saying that Site was published successfully.
After that it open blank browser with message (To Parent Directory)
It is giving no error.
Building directory '/project/Users/'.
Pre-compilation Complete
------ Publish started: Project: F:\...\project\, Configuration: Debug Any CPU ------
Connecting to site E:\project...
Publishing directory /...
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
I got the solution
Publish in debug mode first then change settings and publish in release mode. it will surely work :)

Categories

Resources