Automatic package restore not firing
I have a VS2013 c# solution that am trying to build on our TFS 2013 build server. Some projects have nuget package dependencies. For some reason, the build server does not run the automatic package restore even though I am using TfvcTemplate.12
for my build template.
My solution has a .nuget folder with a nuget.config and no nuget.exe or nuget.targets.
How do you troubleshoot this scenario?
thanks
scott
Hi Scott,
Thanks for your post.
If using default TfvcTemplate.12.xaml template, TFS 2013 Build will run below two commands in order and separately to build solution on build agent machine, you can check the information in your diagnostic build log when open build in Web Access.
C:\Program Files\Microsoft Team Foundation Server 12.0\Tools\nuget.exe restore "C:\Builds\ID\teamprojectname\builddefinitionname\src\solutionname.sln" -NonInteractive
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\MSBuild.exe /nologo /noconsolelogger "C:\Builds\ID\teamprojectname\builddefinitionname\src\solutionname.sln"
Please manually run above two commands on your build agent machine to check the result. You need ensure you can manually build your solution on build agent machine.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Output--- automatic mail is not firing to sold to party.
Dear Gurus,
My client requirement is to sent mail to sold party when saving a sales order.
For this I creted a new output type with following assignments
In General data tab:acess sequence assigned and Access to conditions is checked
In Default values tab: Dispatch time(send immadiately), transmission medium(External send), partner function(Sp
),Communication strategy(CS01) assigned.
In Time tab: no information given
In Storage system tab :Storage mode(print and archive),Document type(SDOORDER) info given.
In Print tab: print parameters(sales org) assigned.
In mail tab: nothing assigned.
In sort order tab:nothing assigned
In mail title and texts: En and DE languages are assigned.
in processing routines: program and form routine is assgned.
in partner functions: External send+ SP is maintained.
and in condtion record maintained in VV11 tcode with details
Partner function and in communication assigned printer and selected check box print immadiately and release after out.
But automatic mail is not firing when saving the sales order, but in change sales order in menu bar selected sales document and issue output to and selected print then mail is firing to the sold to party, pls tell me where i had done the mistake.
Rgrads,
kishore.
Edited by: kishore gopala on Sep 13, 2008 1:42 PMCheck whether you have maintained the email address in the customer master of Sold to party in the General Data>Address Tab> Under Communication Area??
In the SCOT Transaction, check under SMTP (SMTP Mail Server)-->under INT (Internet) --> an '*' asterisk has been maintained or not.
Check the status of the email output in the Sales Order, is it showing with a green traffic light???
If it is showing with a green traffic light you can manually see the status of the mail mesages in Transaction SOST.(by executing, by putting the Sender Id)
If they have not gone you will be able to see them queued up there.
Select the individual messages and press execute button. By doing this email outputs will be released.
Hope this helps you.
Caution: One word of caution is that SCOT is a very critical transaction. And if you are working on a live server, do not play with it as it controls the entire SAPconnect Administration Nodes.
Hope this helps.
Regards,
Vivek -
Package restore TFS 2013 where do I start?
There seems to be a lot of confusion about NuGet Package restore on TFS. I have found many many pages about making sure Package restore is False and .targets must be removed and others that state exactly the opposite.
I have found references to Bcl settings, build definition updates, post NuGet 2.7 changes. Statements such as "You must add an extra project that runs a checked in version of nuget.exe", "you need an empty "packages" folder to be
checked in".
If I turn on package restore then the build log lists "This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them....". If I try the opposite then all the references are not found.
I need to know where to start.
( I have read but perhaps do not understand the following).
https://docs.nuget.org/consume/package-restore/migrating-to-automatic-package-restore
http://blogs.msdn.com/b/dotnet/archive/2013/08/27/nuget-package-restore-with-team-foundation-build.aspx
http://docs.nuget.org/consume/package-restore/team-build
I have TFS 2013 and the developers are running VS2013 update 4 with nuget 2.8.
How can I find what version of nuget is running on the server?
What strategy should someone with this setup be following?
and why is there such a polar opposite in recommendations, I assume I am missing something fundamental.Hi Rob,
Thanks for your reply.
Team Build will build solution/project on build agent machine by default, so we need ensure Team Build can find the required references/package on build agent machine.
Every project will created in/under a solution, and we need Enable NuGet Package Restore on solution. We suggest you build the solution in Team Build.
If issue happened on your Project based build, please share the detailed information here, I will follow your information and try to reproduce that issue on my TFS 2013 Update 4 Server environment.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hi Team,
I am trying to restore/design few SSRS reports in my PPS Dashboard Designer 2013. On my process I got the error "Failed to load the appropriate report editor" and to rectify it I tried installing the SqlSysClrTypes.msi on my machine (32 bit). But
while installing, got the error "The Installation package is not supported by this processor type". kindly help me in getting link for downloading the correct version on the add-on.
Thanks,
-ArsathTry below msi
http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi
http://social.technet.microsoft.com/Forums/lync/en-US/dab8767e-92a0-4cee-aad8-1e216084acfa/getting-error-on-installation-of-sqlclrtypemsi-on-windows-server-2008-r2-64-bit-machine?forum=ocsclients
install the sqlsysclrtype.msi for sql server 2012
http://stackoverflow.com/questions/14991693/created-msi-but-get-installation-package-is-not-supported-by-this-processor-type
If this helped you resolve your issue, please mark it Answered -
New itunes install error - Installation package could not be opened. Verify
I Just bought a brand new computer last night. I am trying to install Itunes and get the following error. "This installation package could not be opened. Verify that the package exists ad that you can access it, or contacnt the applicaiton vendor to verify that this is avalid windows installer package"
I am running windows 7 64 bit home premium. I have verified that i have downloaded the correct itunes version itunes64setup.exe
So far i have tried
-downloading and installing all microsoft updates
-disabled all anti virus and firewall software,
-rebooting and re-downloading
-tried installing quicktime first. (gives me the same error)
-stopping and restarting windows installer
-deleted all items from the temp folder
-tried running itunes64setup.exe as admin and also in compatibility mode
-verified i have downloaded itunes64setup.exe with IE 64 bit
I am at a loss. I can not find any real solution for this problem. I am now 5 hours into trying to find an answer. This is a brand new computer and I have installed no other programs on it than what came out of the box.
Any help would be greatly appriciated!!Well if anyone else runs into this problem, this is how i got it fixed.
I did a complete system restore to the origional factory default on the computer. I would not have thought that this would have been needed as it was brand new out of the box with nothing downloaded/changed on it.
However it worked. The only thing I can thing of, is that on the origional factory install of the software there may have been a corrupt or missing file that when I did a new install corected itself.
If you have the origional windows disk that came with the computer I would use that to completely reinstall windows. If you are like me and they didnt provide you a disk, I made a complete backup of the system to disk and made a recovery disk just to be safe before restoring the system.
Hopefully this is helpfull to someone. -
This installation package could not be opened...
I am on the verge of tears. I am so frustrated and not having any fun.
I got my green iPod nano for Christmas. It's very pretty and very shiney and tiny and cute.
I have a couple of problems with it.
First thing first:
iTunes will not download for me. I'm running off Windows XP. I download the program and it tells me, EVERY time. "This installation package could not be opened. Verify that the package exists and that you can access it."
I read not being Adminstrator could be the problem. But I am the Adminstrator. So, that's not it.
I updated Windows Installer, deleted every iTunes set up, deleted Quick Time (like some people said) and updated Windows. Nothing. I'm still having problems.
It says the same thing every time.
I even had a friend upload it for me, and then I tried to download it. That didn't work either. My dad has a Mac, so, he said he'd try to burn it do a CD. That didn't work because his computer is a Mac.
I also turned off my firewall and virus protectors, because I read that could be the problem too. Still...nothing.
I used EphPod, but that doesn't recgonize my music and tells me I need an Ipod directory thing...
And then I used Internet Explorer, reading that sometimes Firefox has issues. THAT didn't work either.
So, that's my problem. Does anyone know how to let my computer download anything?
Second problem:
Windows Media seemed to recognize my iPod and it was putting music on it. But when I look at it, there's nothing listed in my iPod, but I only have 1.8GB left out of 3.6GB. I need to clare the DB but I need iTunes.
Please help me. I can't find any direct advice anyway, and nothing anyone is telling me to do is working.Hi,
Have you make any change to your system before this problem occures? You can try to make system restore to revert your system to a former normal time point to fix this problem.
In addition, you can try to use sfc /scannow command to fix system componments for test. If no use, using
DISM /Online /Cleanup-Image /RestoreHealth instead.
Roger Lu
TechNet Community Support -
Hi
I am new to SP.I written a code which is executed at back end succesfully but its not firing at front end.
I used this SP to restrict the user to change the unit price(Comes automatically from item master) for a particular item group in PO.its not showing the error message when i change the unit proce of PO.Can anyone suggest me on how to proceed?
CREATE proc dbo.SBO_SP_RESTRICTPRICE
@object_type nvarchar(25), -- SBO Object Type
@transaction_type nchar(1), -- [A]dd, pdate, [D]elete, [C]ancel, C[L]ose
@num_of_cols_in_key int,
@list_of_key_cols_tab_del nvarchar(255),
@list_of_cols_val_tab_del nvarchar(255)
AS
begin
-- Return values
declare @error int -- Result (0 for no error)
declare @error_message nvarchar (200) -- Error string to be displayed
select @error = 0
select @error_message = N'Ok'
IF(@object_type='22') and (@transaction_type IN ('A','U'))
begin
IF Exists(select T0.Price from POR1 T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode INNER JOIN ITM1 T2 ON T1.ItemCode = T2.ItemCode where T0.ItemCode = T1.ItemCode AND T1.ItmsGrpCod = '126' AND T0.Price <> T2.Price AND T0.DocEntry = @list_of_cols_val_tab_del)
Begin
SET @error = 30
SET @error_message =N'You are not authorized to change the price'
end
END
endHi Kamdasan,
Try this.
Insert this code in SBO_SP_TRANSACTIONNOTIFICATION
USE [Cmp_Test]
GO
/****** Object: StoredProcedure [dbo].[SBO_SP_TransactionNotification] Script Date: 06/23/2011 10:58:51 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER proc [dbo].[SBO_SP_TransactionNotification]
@object_type nvarchar(20), -- SBO Object Type
@transaction_type nchar(1), -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
@num_of_cols_in_key int,
@list_of_key_cols_tab_del nvarchar(255),
@list_of_cols_val_tab_del nvarchar(255)
AS
begin
-- Return values
declare @error int -- Result (0 for no error)
declare @error_message nvarchar (200) -- Error string to be displayed
select @error = 0
select @error_message = N'Ok'
-- ADD YOUR CODE HERE
IF (@object_type = '22') and (@transaction_type IN ('A', 'U'))
BEGIN
IF exists (SELECT T1.[Dscription], T4.[ItmsGrpNam], T4.[ItmsGrpCod], T3.[PriceList], T1.[Price]
FROM OPOR T0 INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode
INNER JOIN ITM1 T3 ON T2.ItemCode = T3.ItemCode
INNER JOIN OITB T4 ON T2.ItmsGrpCod = T4.ItmsGrpCod
INNER JOIN OPLN T5 ON T3.PriceList = T5.ListNum
WHERE T4.[ItmsGrpCod] = '130'
and T3.[PriceList] = 40
and T3.[Price] <> T1.[Price])
Begin
Select @error = -1,
@error_message ='You are not authorized to change Unit Price For This Item Group'
End
END
-- Select the return values
select @error, @error_message
end
Thanks
Malhaar -
I am working on a portal which is built in flex. I wanted to perform some action based on my applications is in focus or out of focus. So I tried to use two Events for this purpose Event.Activate and Event.Deactivate inside my flex code.
These events fire perfectly in FF 3.0 and above, Safari, Chrome and these events get triggered till IE 7.
But when I switch to IE 8 and above versions with latest flash player plugin 10,2,152,26 the Event.deactivate is not firing, and I am not able to detect whether my Flex application is out of focus.
I tried doing some research around this issue both using Flex Events and Javascript approach using window.onfocusin and window.onfocusout, but still no luck in IE 8 and higher versions with latest Flash plugin 10,2,152,26.
Has someone faced this kind of issue. Any help or solution to this problem would be appreciated. As we have a large number of users viewing this portal in IE 8 with latest flash plugin.
The code is simple and I have pasted below:
package {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
public class Main extends Sprite {
public function Main() {
this.addEventListener(Event.ACTIVATE, activateListener);
this.addEventListener(Event.DEACTIVATE, deactivateListener);this is a known issue (or, really a collection of issues) related to how the deactivate event works in different browsers. check colin moock's blog.
for most, but not all, purposes using a mouseleave event works well-enough. -
Automatic packaging price in price determination(SD-module)
Hi,
We have posted a new condition type in the existing procedure and created condition records. But, when we create a delivery the automatic price is not picked up.We want automatic pick up of packaging price in the delivery.
Is there any exit where we can use to do so?
I found one named 'USEREXIT_SAVE_DOCUMENT_PREPARE'
Can anyone one suggest what code to write in that to achieve the requirement.
Many thanks in advance.
Regards,
DipenWell,
I think any changes related to pricing should be don in USEREXIT_PRICING_PREPARE_TKOMP. Here one need to do changes in XKOMV table.
But before that, I just want you people to check the STLNR of table KOMV (sequence number assigned to this newly created condition). Because, in SD, it calculates the Net Price in the sequence.
Regds,
Sandip. -
Why actionlistener not fired?
Dear All,
I have two tables with different data bindings, rendering output in one column as comnadLink component
On both tables comnadLink components has actionlistener binded to one method on backing bean.
For some reason actionListener is not firing for one of the tables. It does not metter which compannent I will use for rendering (table or tree) actionListener never fires when this particualr binding is used.
What could be the reson?Hi Again,
Below is page definition and actual page source.
Workflow is following:
1. There is page showResult to render some report outcome
2. Page definition has one invokeMethod which accepts parameter resultId and calls remote EJB
3. During workflow resultId is stored by another backing bean in requestScope #{requestScope.resultId} and call forwarded into showResult page
4. Outcome rendered correct by showResult page. Part of the outcome is comandLink component within iterator (or table)
5. Clicking on comandLnk should result in calling method on backing bean but it is not happen. Method is not called.
6. Any other comandLink components out of iterator work correctly.
I tried to use table and ADF component instead of trinidad, but result is the same.
If I replace #{requestScope.resultId} by hardcoded value in page definition , then commandLink works
<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel" version="11.1.1.56.60" id="showResultPageDef"
Package="client.pageDefs">
<executables>
<variableIterator id="variables" Refresh="always"/>
<methodIterator Binds="getResultBytId.result" DataControl="ResultEJB" RangeSize="200"
BeanClass="model.entity.Result"
id="getResultByIdIterator" Refresh="always" CheckParams="true"/>
</executables>
<bindings>
<methodAction id="getResultById" Action="invokeMethod"
MethodName="getResultById" DataControl="ResultEJB"
InstanceName="ResultEJB.dataProvider"
ReturnName="ResultEJB.methodResults.getResultById_ResultEJB_dataProvider_getResultById_result">
<NamedData NDName="resultId" NDValue="#{requestScope.resultId}"
NDType="java.lang.Object"/>
</methodAction>
<tree IterBinding="getResultByIdIterator" id="Result" ChangeEventPolicy="none">
<nodeDefinition DefName="model.entity.Result" Name="Result0">
<AttrNames>
<Item Value="description"/>
<Item Value="header"/>
<Item Value="value"/>
</AttrNames>
<Accessors>
<Item Value="resultDetails"/>
</Accessors>
</nodeDefinition>
<nodeDefinition DefName="model.entity.ResultDetails" Name="Result1">
<AttrNames>
<Item Value="description"/>
<Item Value="nextParams"/>
<Item Value="nextStep"/>
<Item Value="value"/>
</AttrNames>
</nodeDefinition>
</tree>
</bindings>
</pageDefinition>Page:
<tr:iterator var="h" rows="0" first="0" value="#{bindings.Result.collectionModel}" id="hiter">
<tr:commandLink text="#{h.value}" id="cl1"
actionListener="#{backing_showResult.proceedDrillDown}" immediate="true"/>
</tr:iterator>Any suggestions?
Thank you. -
Java Auto download : Installation package could not be opened
Hi,
I been working in Java Web Start for sometime now i am facing the following issue, while automatic download of java is being carried out while installation the tool.
Issue:+
"This installation package could not be opened. Verify the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows installer package."
Following is the .html file which i had being using to auto download java 1_4_2_08 this has been working fine for more than 2 years now in Sun Solaris 9.0 and windows.
<HTML>
<BODY>
<OBJECT CODEBASE="http://java.sun.com/update/1.4.2/jinstall-1_4_2_08-windows-i586.cab"
CLASSID="clsid:5852F5ED-8BF4-11D4-A245-0080C6F74284" HEIGHT=0 WIDTH=0>
<PARAM NAME="app" VALUE="http://1.111.111.111:1000/abs/apps/abs.jnlp">
<PARAM NAME="back" VALUE="true">
</OBJECT>
</BODY>
</HTML>
I went thru other forums on this topic i havent got any clue on this topic.
Manual download just works fine on any java package.
Can any one let me know how do i go ahead about solving this issue!
Best Regards,
Akarsh MGJust wanted to add another note that i am not able to auto download for any 1.4 version!. My appln requires 1.4 specifically so i am trying it only for this version
Do you think is there any firewall/network issues?
Can there be any chances that windows OS has any updates that doesnt allow me to download?
Is Auto download working fine for other versions/ 1.4 ?
This has become a very critical issue for me as this has been working fine for few years now.
Looking forward for few ideas and a solution.
Thanks in Advance!!! -
Please help.
I bought the IMAC 21.5" /2.5QC /2X2GB /500GB /6750M sept2012. After the automatic update run when restart computer the screen is on the gray screen with the logo and wont' do anything else. I tried to reboot holding the shift key without success. The package did not come with a CD so I can not reinstall the previous system. I even don't know what is the system that came with the computer because I just start using it. I bought in the US but am in Brazil. HELP PLEASE, how can I get the previous system so I can reinstall it? I do not mind loosing data but I need to work on it. PLEASE HELP! Thanks!Try booting into the Recovery HD which is on the HD. Restart holding down Command+r and at the screen with four choices select Disk Utility>Macintosh HD and click on 'repair disk'. If any changes are made click on repair disk again until you get a clear pass. Restart as normal from the Apple menu.
More about the Recovery HD:
http://support.apple.com/kb/HT4718 -
JCOP Tools "This package has not been built"
Hello,
I'm using the Eclipse with JCOP Tools 3.1.1 and sometimes the .cap file is not built and the upload of the Applet fails when running the project
cm> upload ".../workspace.1j.../myapp.cap"
jcshell: Cannot read </../../myapp.cap>: java.util.zip.ZipException: error in opening zip fileThe "CAP File Properties" view in Eclipse says "This package has not been built" but I don't know how to force the build of the package. I tried to clean, manually/automatically build the project but it just won't get build :(
Any ideas ?
Thanks.
Texwell nevermind, when this happens I just build the .cap alone:
cd myproject/bin
..../java_card_kit-2_2_1/bin/converter -out CAP -applet 0x01:0x02:0x03:0x04:0x05:0x2E:0x61:0x70:0x70 com.test.MyApplet com.test 0x01:0x02:0x03:0x04:0x05 1.0 Tex -
HT4859 restore notes from icloud
My notes just disappeared from my Iphone 4i. How do you restore notes from icloud?
If notes were synced to icloud they can be retreived from icloud.com website.
If notes were backed up to icloud that can be retrieved with restore of device.
Problem is that if notes were synced to icloud, you are very unlikely to lose those, and chances are you would not be here. Another problem is that notes are in most of the times aren't in backup. Notes normally backed up/synced by imap servers and in that case backup contains only such servers settings, but notes are downloaded later automatically after restore from back up.
I know all that sounds like blah blah blah, but here is summary
if notes are not in icloud.com - backup is probably useless and places to check would be notes folders of email accounts that were set up on the phone. Example - I have yahoo account and yahoo server syncs my notes. When I go to yahoo.com and login, there is folder - notepad - contains all my notes, I can copy, save and so on. -
Automatic Packaging material as delivery item
Hello Friends,
In the delivery document there was a automatic packaging material created and deleted in the delivery document, due to which the weight is pickedfrom that of item of delivery document and not from the Handling unit.
I would like to know in what circumstances the automatic packaging material get added to the delivery document, when i observe the changes for the document there were some changes in the Net weight and Gross weight.
Can you guage anything from the above statements, how is that an automatic packaging material is added.
Thank you.Hi,
Are you using automatic packing functionality in SAP?
As the name specifies, this can be used to pack materials automatically; based on pre-defined set of instructions. Once those instructions are configured, at delivery creation point, materials will be packed automatically.
Best regards,
Anupa
Maybe you are looking for
-
I installed FF and used it without issue, but on loading it for me next session and every subsequent session it reverts to the state it was as a new install including not retaining any settings for loaded extensions. This is a total pain and is likel
-
CIC Activity and Sales Order Link Tables?
Hello Experts, Can somebody let me know the CRM Customer Interaction Center(CIC) activity and its leading Sales Order Link tables or the data model? If somebody could point me to CRM CIC Data model it would be real helpful. If you have any document p
-
Can't find IPhone app for Calendar view when you turn on the phone - anyone
I read about (can't remember where) an Iphone app that allows you to choose your calendar view as the thing you see when the phone is turned on before you slide the arrow to the right to open everything up; meaning, you can just press the top button
-
Import/Export comments from PDF
Hi I am using Adobe Acrobat 6.0 Professional. I am an application devleoper [.Net 4.0 , C#] . I need to export/ import comments from pdf. I will explain my scenario :- 1. I have three copies of the same pdf file. Each copy contains different
-
Set deployment order at deployment
Hi All, This is my situation. i have a WLST deploy script to deploy a few EAR files (WLS 10). The first service is deployed in 5 minutes, the second takes 8 minutes, the third will take 12 minutes and so on until a timeout occurs. Every service takes