Deployment :: Unable To Get Rid Of Project Reference / Dependency

Jun 22, 2009

I have a project that I am attempting to deploy. In my project I was using a SQL Express DB and after my first build I installed on my test PC only to find that it was going to make me install SQL Express which I defiantly do not want so I decided to scrap the DB.

I excluded the DB from the project, when into the project properties pages and removed all references to SQL and system.Data, Went into the code and removed all the "Imports" statements for SQL and Data and commented out all the SQL DB code. I then tried another build and had the same results. I started looking at the files and then I realized I did not change the app.config file. I went into it and deleted out the connection string entry. I built the project again only to have the same result. I cannot seem to see what could still be referencing SQL. Isn't commented code ignored?

View 3 Replies


ADVERTISEMENT

Fix LINQ Dependency With A Deployment?

Apr 2, 2009

I have a program that contains .dbml files. I created this file with Server Explorer

View 2 Replies

Setup And Deployment - Automatically Detects That The Shockwave Flash Is A Dependency

Mar 18, 2009

I have a vb.net windows application that i am using, i have embedded a shockwave flash file in one of the forms, in the development enviornment everything works fine. Then I am using the setup and deployment to create a "msi" it automatically detects that the shockwave flash is a dependency for my project and adds the required dll.Once it has created the msi, and i run it on a new machine, the software gets installed, but the flash component inside the form dosent work. is there something special i need to do for that dll?

View 1 Replies

Unable To Find Dependency?

Oct 28, 2009

I'm using Visual Studio 2008 on an XP machine. My other machine died so I had to re-install VS on a new machine. Everything worked find until I went to the new machine. Now I keep getting these 2 messages below when I go to build my solution:

Unable to find dependency 'interop.stdole' (signature ='(null)' Version='2.0.0.0') of assembly axinterop.mscomctllib.dll
Unable to find dependency 'interop.stdole' (signature ='(null)' Version='2.0.0.0') of assembly interop.mscomctllib.dll

I tried to remove the references to both .dll's and then re-add them in and that didn't work. I tried removing and re-adding stdole, and that doesn't work either. I tried installing VS on another machine, but I get the same messages there.

The only thing I noticed out of the ordinary is under Detected Dependencies, when I right-click on axinterop.mscomctllib.dll and view the dependecies, I noticed there is a yellow exclamation point in the icon for interop.stdole. I don't see any information regarding that exclamation point however.

View 2 Replies

"Incorrect Format" Reference Error While Building Web Deployment Project In TeamCity

Nov 17, 2010

I began setting up a TeamCity server a couple days ago for use in automated testing and CI. We mainly do VB.net web apps and up until now, it had been checking out things and building just fine.

A problem came up when I tried to add actual deployment into the mix. I saw this article: [URL]

referenced all over the place as a good guide, so I followed the steps relating to setting up a Web Deployment project and rigging TeamCity to run it. Basically, it recommends setting up a new build configuration in VS2010 called "Deployment" which builds the Web Deployment project, then creating a build configuration in TC that targets it.

The issue is that the web deployment project won't compile when run under TeamCity. The regular build works just fine, but if I set MSBuild to use the build configuration that includes the Web Deployment project, it crashes halfway through and gives an error about attempting to load the System.Data.OracleClient assembly in an incorrect format. I assume this means a 32-bit/64-bit error, especially since my development machine is a 32-bit box, and the build server is 64, but I don't know why this is happening, especially when the regular build works, and nothing in my project involves using an Oracle database.

I saw in the log that there's a warning about missing reference assemblies for the 4.0 framework, so I headed off to the MS website and downloaded the SDK, but that didn't change anything. At this point, I'm stuck, and I didn't see anything already here on Stack Overflow that looked quite like this. I'll attach the log below. Have I missed something simple?

[10:46:05]: Project "MyTools.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build target(s)):
[10:46:05]: [Project "MyTools.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build target(s)):] Project "MyTools.sln" (Rebuild target(s)):

[CODE]...

View 1 Replies

Deployment :: Setup And Deployment Project With Ms Sql Server?

Nov 3, 2009

i'm developing an application vb.net with mssql server as database. on my pc it works. but i don't know how to make it works on my customer's pc.anybody have some tutorial regarding the creation of a setup and deployment project with ms sql server.my first doubt is: how can i determinate the right connection string?

View 1 Replies

Deployment :: Setup & Deployment - Copy/import 2 Folders And There Sub-files/folders Into S&d Project?

May 7, 2012

Have built a project and associated it with a Setup&Deployment Project. The S&D project needs to contain 2 main folders (under User's Desktop) with various formats of files (xmls, txts, dlls) inside them and several subfolders. How can i copy/import these 2 folders and there sub-files/folders into my s&d project?

When adding them in the usual way, they are copied and defined a source path onto the current pc. You can understand what errors this might create when an another targeted pc does not contain those files to the exact location. Is there any way to copy them locally or somehow import them?

View 5 Replies

Unable To Create New Smart Device Project Due To An "object Reference Not Set To An Instance Of An Object"?

Feb 29, 2012

I am attempting to create a new mobile app using VB in visual studio 2008. I select "File" "New Project". Select "Smart Device" in new project window. Select the "Smart Device Project" from templates. Select ".NET Framework 3.5". Select "OK" and get the dreaded "object reference not set to an instance of an object"

View 1 Replies

Microsoft Office Installed - Warning 2 Unable To Find Dependency 'INTEROP.MICROSOFT.OFFICE.CORE'

Jul 23, 2010

So I have this error.

[Code]...

So I'm guessing it has something to do with the fact that I don't have office loaded on my computer. Now I have another laptop, with office that I loaded this project on, and it works fine. So do I have to load office on this computer, or can I just reference something?

[Code]...

View 8 Replies

Unable To Access Database On Deployment?

Apr 24, 2012

I have created a program to log company and programming information for a radio station, on the test machine it works perfectly when deployed the program cannot read from the database. It creates it fine and can write to it without complaint but when opening the program which is supposed to read information from the database the program crashes, if i ask it to continue then it will bring up the form but nothing which is supposed to be populated by access to the database is populated.ed onto the deployment machine and this does not solve the problem.

this is code relating to the issue:frmMain:
' == frmMain_Load ==
' ==================

[code]....

View 6 Replies

VS 2010 Dll Reference And Application Deployment?

Feb 20, 2012

I am successfully using a dll reference in VB.NET project. When I export the application to another PC by using a deployment setup, the application does not start at all. I have included the dll file inside the deployment setup so that this file is copied in the application folder. If I remove the dll file from the deployment setup, the application starts normally.I was wondering how I should set the properties of the reference in the .Net project. I am attaching a view of the references dialog where the used reference is highlighted.

View 4 Replies

Unable To Solve Error "reference To A Non-shared Member Requires An Object Reference"

Jul 26, 2011

I have the following code

[Code]...

that vb method returns data of type string. i declared result of type string. but it is showing on that vb method like "reference to a non-shared member requires an object reference" How to solve this? Did I make any other mistakes in this code?

View 1 Replies

Deployment :: Error - Unable To Find Version

Mar 20, 2009

I have developed a windows based application using visual studio 2005 called DMS. On the client side, this application runs on asp dot net framework 2.0. We have created its setup file which has to be installed on the client pc. After the installation of the application, some of the users get the error message as:

DMS.exe - .net framework initiation error Unable to find a version of the runtime to run this application

(I have also attached the screen shot of the error message.)Trouble shooting done by me:

a. I had tried the re-install Dot Net Framework 2.0.

b. Scanned the PC for virus attack.

c. Install dot net framework 2.0 first and then the application.

But none of the solution works. The only thing that works temporarily is un-install the whole application and re-install it. Then it works for a few hours.

View 1 Replies

Unable To Get Namespace System.Deployment.Application

Aug 19, 2010

I am trying to get this: System.Deployment.Application.ApplicationDeployment.CurrentDeployment.IsFirstRun.But the application namespace is not there. I just see System.Deployment.Internal. The object browser, however, shows me all the properties and methods of that namespace, but my app can't see it.?

View 1 Replies

System.Deployment Reference Breaks Application.Exit()?

Oct 20, 2009

I have the following code under a button labeled "Exit" for exiting my application. Code:Application.Exit()It has been working fine. I added a reference to System.Deployment and the compiler suddenly doesn't like Application.Exit(). Can I not use Application.Exit() and have a ref to System.Deployment at the same time? Upate: I got it. I used the Object Browser and found "System.Windows.Forms.Application.Exit" which works with System.Deployment referenced

View 2 Replies

IDE :: Unable To Retrieve Application Files. File Corrupt In Deployment?

Apr 15, 2009

i am getting "Unable to retrieive application files. File corrupt in deployment" on clickonece technology

Log:-
SOURCES
Deployment url : http://192.168.1.1/Employee/emp.application
Server : Microsoft-IIS/6.0
X-Powered-By : ASP.NET

[Code]...

View 1 Replies

C# - Project To Project Reference Specific Version In Same Solution

Jun 7, 2012

I'm developing application that is plugable. The plugins are loaded via Assembly.LoadFrom(). In my solution I have 4 projects. A WPF, 2 DLL and another DLL that is a plugin for the app. The plugin project references one of the other DLLs. When I build the Solution and run I was getting an error trying to use the plugin dll because it was expecting an older version of the referenced project. I had to clean and rebuild the plugin project to get it to run correctly.

[Code]...

View 1 Replies

Sql - Deployment Of .Net Project?

Dec 1, 2011

I am working on a Project which uses SQL Server,Crystal Report. And the project is almost complete and i am going to publish it.Now I dont want to add the Prerequisites for the project as it will make the size of the exe to some 400mb but my application exe is just 4mb.

Now currently i have seen something in the Reference Section of Project Properties.That is the dll Control that i am using for Buttons has the Column called Copy Local with a value of True but for CrystalDecission.Shared its just False, so is this value changing to True helps me or not... that is i should not have to include as Prerequisites for crystal report..

View 1 Replies

How To Use The Setup/deployment Project

Jun 21, 2010

My suggestion is how to use the setup/deployment project - and also how to add it/incorporate it into the project being built.

View 3 Replies

VS 2010 Deployment Project, How To Run Exe At End

Feb 25, 2011

I've created a deployment project to install my app using Visual Studio. How do I get the setup wizard to run my app at the end and pass it a command line parameter?

I need to set permissions on a folder so I was going to call my app with a parameter and do it from there whilst the user still has admin rights.

View 2 Replies

Created A Setup And Deployment Project?

Oct 2, 2010

ive just completed my app and i created a setup and deployment project.Complier forced me to exclude wmp.dll

i get this error for about a second before the app launches. Losing my splash screen because of it

I thinks it has to do with the .dll, but ive no clue how to fix

View 4 Replies

Deployment - Relative Project Folders

Jul 24, 2009

PROBLEM #1: I have a program that accesses several XML files that are located in a subfolder called "xmlfiles." This folder is a sub-folder in my project. I am using "Application.Settings" to store the locations of the XML files. For example, I have an entry for "JobsXML" that has a string with the file path of the XML file to load. To get these files to load, I had to use relative references: The path settings for "JobsXML" is "......xmlfilesjobs.xml"

I have to go up 3 directories because the files are in "debugin" during design. This will not be the case at runtime. This arrangement works fine in the editor, but when I make a "ClickOnce" package, the relative path will no longer work for installed applications. The directory will be different.

How can I setup my code so that the "xmlfiles" subfolder will be correctly used at runtime? I need to be able to run this from my project folder under "My Documents/Visual Studio 2005/Projects/etc..." and also, I need it to work from the runtime directory that the user installs the program to. So if the user installs the package to "C:temp" then the code should use the setting for "JobsXML" by going to "C:empxmlfilesjobs.xml."

PROBLEM #2: There is an attribute in some of my XML files that is also, a relative file reference. I have another subfolder called "images" that also resides in my project. This folder contains images that are loaded at runtime. In my XML file, each node has an attribute, "filepath" that has a value of "......imagesfilename.jpg". I also need to be able to access this relatively, just like the XMLfiles I mentioned in PROBLEM #1.

I have tried different combinations of StartupPath, Path.Combine and a few others, with no success. I am new to this so I could use some sample code to put this together correctly.

View 7 Replies

Deployment :: How To Create A Upgrade Project

Dec 29, 2009

I have a question for many years.. Suppose if I Deployed a project using Setup Project. After some time, I added some features or modify it on customer demand.

1) How do I make a upgrade project so that the user runs the setup and the new changes are upgraded on the client system.

2) How do I automatically create ODBC System DSN Connections.

View 3 Replies

Deployment :: Make Exe File Of Project?

Oct 24, 2008

I want to make exe file of my project but i don't know how make.P

View 5 Replies

IDE :: .net Deployment With Multiple Project Output?

Jun 16, 2010

I am trying to create a deployment project for a solution of many projects and two start-up projects. I understand that there are 2 primary outputs in this case. The solution will not work/make sense if either of the two outputs is not running.

At the moment, I have created a set-up project with the multiple outputs, but then I will have to open the outputs individually for them to work. I am wondering if there is a way to create a desktop icon that targets both outputs simultaenoulsy.

View 2 Replies

Setup And Deployment Project Walkthru?

Jul 7, 2010

setup and deployment project walkthru? creating a setup and deployment project in Vs2008

View 7 Replies

VS 2010 Setup & Deployment Project?

Apr 26, 2012

For my .Net desktop apps I usually create an MSI installer (I create a 2nd project in my solution, a Setup & Deployment project) and I zip the setup.exe file with the <appname>.msi files together and put them up for download on my site. The installer will go through the process of asking where they would like to install the application (it creates the needed shortcuts and everything).

Right now I'm looking at adding a feature to some of these programs where it'll periodically check it's corresponding xml file on my web server and see if there's a newer version of itself available. I have this portion working just fine, where I'm stuck is that I would like to have it download a separate msi installer to update itself.

The idea is that it would download this different msi file, execute it while the app closes itself. This msi would not ask any questions, it would simply update the needed files in whatever location the first msi installer put the app. When this updater msi is done, it would just re-start the application.How would I go about making an msi installer that doesn't have any prompts and installs the application where ever the first msi installer put it (where ever the user chose to install it to)?

View 8 Replies

.net - Replacing Sections In Web.config Using Web Deployment Project?

Jul 10, 2009

I am trying to replace the following section to blank section

<secureWebPages mode="RemoteOnly" encryptedUri="abc.co.uk" unencryptedUri="www.abc.co.uk" maintainPath="True" warningBypassMode="AlwaysBypass" bypassQueryParamName="BypassSecurityWarning" ignoreHandlers="WithStandardExtensions">
<files>
<add path="abc.aspx"/>
</files>
</secureWebPages>

But after executing it is giving me the following error

WDP00002: missing section secureWebPages/configuration.

View 1 Replies

Add Icons To Shortcut In Setup/deployment Project

Jun 30, 2010

I would like to add a choice of icons to the desktop shortcut I add in setup/deployment. I can add one icon, but when I run the project there is no option for changing it. The "change icon" button is greyed out. I've made a dll containing 3 icons and added it to the setup/deployment project (also added it to the test project).

View 1 Replies

Alternate For Setup And Deployment Project In Program?

Mar 5, 2010

Setup and deployment project template is missing in my installation

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved