B?n khng th? s? d?ng bi?u t?ng huy hi?u quy m-140 trong Visual Studio 2012 Update 1

D?ch tiu ? D?ch tiu ?
ID c?a bi: 2792380 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

Tri?u ch?ng

Bi vi?t ny m t? m?t gi?i php cho cc v?n ? sau y trong Microsoft Visual Studio 2012 Update 1.

V?n ? 1

H?y xem xt k?ch b?n sau y:
  • B?n t?o m?t ?ng d?ng b?ng cch s? d?ng Visual Studio 2012 Update 1.
  • B?n ch?n m?t t?p tin .png 33 x 33 i?m ?nh ? bi?u t?ng huy hi?u quy m-140 cho cc ?ng d?ng.
  • B?n c? g?ng ? ng gi cc ?ng d?ng.
Trong tr?ng h?p ny, b?n khng th? ng gi app. Ngoi ra, b?n nh?n ?c m?t thng bo l?i tng t? v?i nh?ng i?u sau y:

Ti li?u tham kh?o bi?u hi?n ?ng d?ng badge bi?u t?ng h?nh ?nh 'images\BadgeLogo.scale-140.png' c kch th?c khng h?p l?. N ph?i l 34 x 34 pixel.

V?n ? 2

H?y xem xt k?ch b?n sau y:
  • B?n t?o m?t ?ng d?ng b?ng cch s? d?ng Visual Studio 2012 Update 1.
  • B?n ch?n m?t t?p tin .png 34 x 34 pixel cho bi?u t?ng huy hi?u quy m-140 cho cc ?ng d?ng.
  • B?n c? g?ng g?i ?ng d?ng ny cho cc c?a hng c?a s?.
Trong tr?ng h?p ny, b?n khng th? g?i app Store Windows.

Nguyn nhn

Nh?ng v?n ? ny x?y ra b?i v? h?nh ?nh Studio 2012 Update 1 khng chnh xc yu c?u t?p .png l 34 x 34 pixel cho bi?u t?ng huy hi?u quy m-140. Tuy nhin, cc c?a hng c?a s? v c?a s? ?ng d?ng ch?ng nh?n Kit (WinACK) yu c?u t?p tin h?nh ?nh cho cc bi?u t?ng huy hi?u quy m-140 l 33 x 33 pixel. V? v?y, v?n ? ?c m t? trong ph?n "Tri?u ch?ng" x?y ra.

Cch gi?i quy?t khc

? lm vi?c xung quanh v?n ? ny, h?y lm theo cc b?c sau:
  1. Trong Gi?i php Explorer, b?m chu?t ph?i vo cc d? n, v sau ch?n D? b? d? n.
  2. B?m chu?t ph?i vo cc d? n, v sau ch?n ch?nh s?a.
  3. Thm m? XML sau y ? d?i cng c?a cc t?p tin d? n tr?c khi ng c?a y?u t?:

    <!-- Workaround for 33x33 badge logo issue. -->
    <Target Name="WorkaroundForBadgeLogoScale140Issue">
    <ItemGroup>
    <AppxManifestImageFileNameQuery Remove="./m:Package/m:Applications/m:Application/m:VisualElements/m:LockScreen/@BadgeLogo" />
    </ItemGroup>
    <ItemGroup>
    <AppxManifestImageFileNameQuery Include="./m:Package/m:Applications/m:Application/m:VisualElements/m:LockScreen/@BadgeLogo">
    <DescriptionID>BadgeLogo</DescriptionID>
    <ExpectedScaleDimensions>100:24x24;140:33x33;180:43x43</ExpectedScaleDimensions>
    </AppxManifestImageFileNameQuery>
    </ItemGroup>
    </Target>
  4. Thm m? XML sau y ? d?i cng c?a cc t?p tin d? n tr?c khi ng c?a y?u t?:
    Lu ? N?u t?p tin d? n c?a b?n ? ch?a s?n m?c tiu BeforeBuild , thm WorkaroundForBadgeLogoScale140Issue vo thu?c tnh DependsOnTargets .

    <Target Name="BeforeBuild" DependsOnTargets="WorkaroundForBadgeLogoScale140Issue" />
  5. Lu v ng t?p tin d? n.
  6. Trong Gi?i php Explorer, b?m chu?t ph?i vo cc d? n, v sau ch?n T?i l?i d? n.
  7. Trong Bi?u hi?n thi?t k?, thm t?p tin .png bi?u t?ng quy m-140 l 33 x 33 pixel.
Lu ? Bi?u hi?n thi?t k? s? hi?n th? m?t c?nh bo r?ng cc bi?u t?ng huy hi?u khng p ?ng yu c?u kch th?c 34 x 34 pixel. Tuy nhin, Visual Studio s? ng gi cc ?ng d?ng, v WinACK cho php b?n ? pht hnh cc ?ng d?ng ?n cc c?a hng c?a s?.

T?nh tr?ng

Microsoft ? xc nh?n r?ng y l m?t v?n ? trong s?n ph?m c?a Microsoft ?c li?t k trong ph?n "p d?ng cho".

Thng tin thm

? bi?t thm chi ti?t v? cc bi?u t?ng huy hi?u, h?y vo web site MSDN sau y:

Cc h?nh ?nh t?i u ha cho ? phn gi?i mn h?nh khc nhau

Thu?c tnh

ID c?a bi: 2792380 - L?n xem xt sau cng: 07 Thang Ging 2013 - Xem xt l?i: 1.0
p d?ng
  • Microsoft Visual Studio Express 2012 for Windows 8
  • Microsoft Visual Studio Premium 2012
  • Microsoft Visual Studio Professional 2012
  • Microsoft Visual Studio Ultimate 2012
T? kha:
kbsurveynew kbtshoot kbexpertiseadvanced kbmt KB2792380 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny: 2792380

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com