Hi,
We're using ClickOnce alreaddy more than a year for a given applicaiton,
doing more than 50 publishes without any problem.
Yesterday we made a minor change to one of our components (let's say with
the name MyAssembly), and incremented it's version (AssemblyVersio n: from
0.1.7.0 to 0.1.7.1). We did the Publish with ClickOnce, but when the users
know want to run the application they get this error:
"Unable to install or run the application. The application requires that
assembly MyAssembly Version 0.1.7.0
be installed in the Global Assembly Cache (GAC) first."
This is so weird, especially when knowing we had alreaddy inremented this
version number without any problems in the past.
Anybody has any idea? Your help will be really appreciated!
Thanks a lot in advance,
Pieter 4 2202
Aaargh never mind, I've found it:
What was actually happening was soem type of dll hell :-)
Another component in the project was referencing the same assembly, but did
it with a compiled version, not the source of the project. so when doing the
publish there was some conflict between the old one and the new one...
This conflict should be more visible in the output window when doing a build
:-)
"Pieter" <pi************ ****@hotmail.co mwrote in message
news:%2******** **********@TK2M SFTNGP04.phx.gb l...
Hi,
We're using ClickOnce alreaddy more than a year for a given applicaiton,
doing more than 50 publishes without any problem.
Yesterday we made a minor change to one of our components (let's say with
the name MyAssembly), and incremented it's version (AssemblyVersio n: from
0.1.7.0 to 0.1.7.1). We did the Publish with ClickOnce, but when the users
know want to run the application they get this error:
"Unable to install or run the application. The application requires that
assembly MyAssembly Version 0.1.7.0
be installed in the Global Assembly Cache (GAC) first."
This is so weird, especially when knowing we had alreaddy inremented this
version number without any problems in the past.
Anybody has any idea? Your help will be really appreciated!
Thanks a lot in advance,
Pieter
On Jun 17, 12:15*pm, "Pieter" <pieterNOSPAMco u...@hotmail.co mwrote:
Aaargh never mind, I've found it:
What was actually happening was soem type of dll hell :-)
Another component in the project was referencing the same assembly, but did
it with a compiled version, not the source of the project. so when doing the
publish there was some conflict between the old one and the new one...
This conflict should be more visible in the output window when doing a build
:-)
"Pieter" <pieterNOSPAMco u...@hotmail.co mwrote in message
news:%2******** **********@TK2M SFTNGP04.phx.gb l...
Hi,
We're using ClickOnce alreaddy more than a year for a given applicaiton,
doing more than 50 publishes without any problem.
Yesterday we made a minor change to one of our components (let's say with
the name MyAssembly), and incremented it's version (AssemblyVersio n: from
0.1.7.0 to 0.1.7.1). We did the Publish with ClickOnce, but when the users
know want to run the application they get this error:
"Unable to install or run the application. The application requires that
assembly MyAssembly Version 0.1.7.0
be installed in the Global Assembly Cache (GAC) first."
This is so weird, especially when knowing we had alreaddy inremented this
version number without any problems in the past.
Anybody has any idea? Your help will be really appreciated!
Thanks a lot in advance,
Pieter- Hide quoted text -
- Show quoted text -
Hi,
If you need to play with GAC manually, you can also refer to this
article: http://support.microsoft.com/kb/315682
Thanks,
Onur Güzel
Hi Pieter,
I have been using Click Once for nearly 3 years (since beta) without any
problems. When I make a change to an application and publish this
change - I increment the project in 3 places: in the Application tab of
Project properties I click on the Assemly Information button where I
increment the assembly version number and the file version number. Then
- in the Publish tab I increment the numbers that I have been tracking
(for me it has only been the revision number. So in all 3 locations all
the numbers match. This may not be the intended way, but I have not had
any problems doing it this way.
Another thing you can do is to go to the server to the directory where
all assemblies for your application get published and delete these
subdirectories and all their contents and then start the publishing
process all over again. The only thing is that you will have to
uninstall your application from all workstations using it first so that
they will get the new assembly.
Rich
*** Sent via Developersdex http://www.developersdex.com ***
Hi Rich,
Changing version numbers manually like that would definitely solve that
problem, but is much better being done automatically as it removes human
error from the equation, i.e. forgetting to update version numbers, it's a
gripe of mine.
I use automatic version numbers by using the wild card char...
Assembly Version,
[1] [0][*] [ ]
Then I only need to change major / minor as necessary, so it can be
ignored for quick changes. But then VS isn't so reliable with keeping
everything uptodate in my experience anyway :(
Nick.
"Rich P" <rp*****@aol.co mwrote in message
news:eb******** ******@TK2MSFTN GP03.phx.gbl...
Hi Pieter,
I have been using Click Once for nearly 3 years (since beta) without any
problems. When I make a change to an application and publish this
change - I increment the project in 3 places: in the Application tab of
Project properties I click on the Assemly Information button where I
increment the assembly version number and the file version number. Then
- in the Publish tab I increment the numbers that I have been tracking
(for me it has only been the revision number. So in all 3 locations all
the numbers match. This may not be the intended way, but I have not had
any problems doing it this way.
Another thing you can do is to go to the server to the directory where
all assemblies for your application get published and delete these
subdirectories and all their contents and then start the publishing
process all over again. The only thing is that you will have to
uninstall your application from all workstations using it first so that
they will get the new assembly.
Rich
*** Sent via Developersdex http://www.developersdex.com ***
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Chango V. |
last post by:
Hello,
We seem to need a PIA for MSXML 4. According to the documentation, only the
original publisher of a COM type library is supposed to create a .NET PIA.
As far as I know, Microsoft hasn't done that yet. Our problem is that we
very much want to create a PIA for a COM component of ours, but TlbImp.exe
/primary insists that all referenced dependencies be PIAs as well. Our
component has a type library reference to MSXML 4, hence the...
|
by: Reinhold Schalk |
last post by:
Hello,
somewhere i've read that using strong names does assure two things:
1. Assure that the content of the assembly is not modified (that's ok in my
opinion)
2. Assure that the assembly is really from the "fabricator" (?)
If these two point are correct (i'm not sure), i have a problem with point
2.
To assure the authentity of the fabricator, the public key (which is a part
of the manifest) has to be checked against a certificate.
|
by: EAI |
last post by:
Is there a way to Install/UnInstall an assembly to GAC?
Thanks!
|
by: George Durzi |
last post by:
I have a dll that I use in several projects, that I placed in the Global
Assembly Cache. This dll is references in each of my projects.
This Dll is referenced by a type= declaration in my web.config as follows.
<configSections>
<section name="exceptionManagement"
type="Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerSectio
nHandler,Microsoft.ApplicationBlocks.ExceptionManagement" />
</configSections>
|
by: ewolfman |
last post by:
Hi,
I've read many posts in several news groups, but can't figure out how
to publish my website. The specific error I'm getting (on the
"successfully published website") is "Could not load the assembly
'App_Web_vxfyglsm'. Make sure that it is compiled before accessing the
page".
I checked - The assembly DOES exist in the target web folder.
| |
by: MarkAurit |
last post by:
In vs.net 2005 web apps, now that we no longer have the assemblyinfo file,
how do we set assembly information (such as version,description,company, etc)?
Thanks, Mark
|
by: Andrew |
last post by:
In ASP.NET 1.1 I used to retreive the version of my code-behind assembly
using following syntax:
Assembly.GetExecutingAssembly().GetName().Version
The version was defined in AssemblyInfo.cs using
After migrating to ASP.NET 2.0 this line of code always return 0.0.0.0. How
do I retreive the assembly version of ASP.NET application?
Thanks
|
by: sklett |
last post by:
From the project designer when I click on the "Application Files" on the
"Publish" tab there are some missing assemblies that are required. I can't
find a way to explicitly specify a required assembly, is this possible? I
don't know WHY VS2005 thinks the assembly in question is not required, but
it does.
Any help would be greatly appreciated.
Thanks,
Steve
|
by: Rainer Queck |
last post by:
Hello NG,
I realized, that my application won't start, if a referenced assembly is
missing.
Basically this is understandable, but since I destribute my applictaion
without a setup, it can happen that I forget one or the other .dll.
Since my app depends on a whole bunch of .dll it would be great, if the app
could tell me which assemblies are missing instead of not starting at all.
|
by: Pieter |
last post by:
Hi,
We're using ClickOnce alreaddy more than a year for a given applicaiton,
doing more than 50 publishes without any problem.
Yesterday we made a minor change to one of our components (let's say with
the name MyAssembly), and incremented it's version (AssemblyVersion: from
0.1.7.0 to 0.1.7.1). We did the Publish with ClickOnce, but when the users
know want to run the application they get this error:
"Unable to install or run the...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |